|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.dpml.library.info.AbstractDirective net.dpml.library.info.ResourceDirective net.dpml.library.info.ModuleDirective
The ModuleDirective class describes a module data-structure.
Nested Class Summary |
Nested classes inherited from class net.dpml.library.info.ResourceDirective |
ResourceDirective.Classifier |
Field Summary |
Fields inherited from class net.dpml.library.info.ResourceDirective |
ANONYMOUS, EXTERNAL, LOCAL |
Constructor Summary | |
ModuleDirective(String name,
String version,
ResourceDirective.Classifier classifier,
String basedir,
InfoDirective info,
DataDirective[] data,
DependencyDirective[] dependencies,
ResourceDirective[] resources,
Properties properties,
FilterDirective[] filters)
Creation of a new module directive. |
|
ModuleDirective(String name,
String version,
ResourceDirective resource)
Creation of a new module directive supporting the establishment of an anonymous resource. |
Method Summary | |
static ModuleDirective |
createModuleDirective(String name,
String version,
ResourceDirective.Classifier classifier,
String basedir,
InfoDirective info,
DataDirective[] data,
DependencyDirective[] dependencies,
Properties properties,
FilterDirective[] filters,
ResourceDirective[] resources)
Creation of a new module directive. |
boolean |
equals(Object other)
Compare this object with another for equality. |
ResourceDirective[] |
getResourceDirectives()
Return an array of resource directives representing the resources within the module. |
int |
hashCode()
Compute the hash value. |
Methods inherited from class net.dpml.library.info.ResourceDirective |
createAnonymousResource, createResourceDirective, getBasedir, getClassifier, getDataDirectives, getDependencyDirective, getDependencyDirectives, getFilterDirectives, getInfoDirective, getName, getScheme, getTypeDirective, getTypeDirectives, getVersion, isAnonymous, isLocal |
Methods inherited from class net.dpml.library.info.AbstractDirective |
equals, getProperties, getProperty, hashArray, hashValue |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ModuleDirective(String name, String version, ResourceDirective resource)
name
- the module nameversion
- the module versionresource
- resource contained within the modulepublic ModuleDirective(String name, String version, ResourceDirective.Classifier classifier, String basedir, InfoDirective info, DataDirective[] data, DependencyDirective[] dependencies, ResourceDirective[] resources, Properties properties, FilterDirective[] filters)
name
- the resource nameversion
- the resource versionclassifier
- LOCAL or EXTERNAL classifierbasedir
- the project basedirinfo
- info descriptordata
- datatypes produced by the resourcedependencies
- resource dependenciesresources
- resource included within the moduleproperties
- suppliementary propertiesfilters
- project filtersMethod Detail |
public static ModuleDirective createModuleDirective(String name, String version, ResourceDirective.Classifier classifier, String basedir, InfoDirective info, DataDirective[] data, DependencyDirective[] dependencies, Properties properties, FilterDirective[] filters, ResourceDirective[] resources)
name
- the resource nameversion
- the resource versionclassifier
- LOCAL or EXTERNAL classifierbasedir
- the project basedirinfo
- info descriptordata
- datatypes produced by the resourcedependencies
- resource dependenciesproperties
- suppliementary propertiesfilters
- project filtersresources
- subsidary resources
public ResourceDirective[] getResourceDirectives()
public boolean equals(Object other)
equals
in class ResourceDirective
other
- the other object
public int hashCode()
hashCode
in class ResourceDirective
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |