public class DatasetModuleMeta extends Object
| Constructor and Description |
|---|
DatasetModuleMeta(String name,
String className,
URI jarLocation,
List<String> types,
List<String> usesModules)
Creates instance of
DatasetModuleMeta |
| Modifier and Type | Method and Description |
|---|---|
void |
addUsedByModule(String name)
Adds module to the list of dependant modules
|
String |
getClassName() |
URI |
getJarLocation() |
String |
getName() |
List<String> |
getTypes() |
Collection<String> |
getUsedByModules() |
List<String> |
getUsesModules() |
void |
removeUsedByModule(String name)
Removes module from the list of dependant modules
|
String |
toString() |
public DatasetModuleMeta(String name, String className, @Nullable URI jarLocation, List<String> types, List<String> usesModules)
DatasetModuleMetaname - name of the dataset moduleclassName - class name of the dataset modulejarLocation - location of the dataset module jar. null means this is "system module" which classes
always present in classpath. This helps to minimize redundant copying of jars.types - list of types announced by this module in the order they are announcedusesModules - list of modules that this module depends on, ordered in a way they must be
loaded and initializedpublic String getName()
public String getClassName()
@Nullable public URI getJarLocation()
null means this is "system module" which classes always present
in classpath. This helps to minimize redundant copying of jarspublic List<String> getTypes()
public List<String> getUsesModules()
public Collection<String> getUsedByModules()
public void addUsedByModule(String name)
name - name of the dependant module to addpublic void removeUsedByModule(String name)
name - name of the dependant module to removeCopyright © 2015 Cask Data, Inc. Licensed under the Apache License, Version 2.0.