|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Modele interface defines a node within a module hierachy.
Field Summary |
Fields inherited from interface net.dpml.library.Resource |
DECIMAL_VERSIONING_KEY |
Method Summary | |
ModuleDirective |
export()
Return a directive suitable for publication as an external description. |
Module[] |
getAllModules()
Return the array of modules that are descendants of this module. |
Module |
getModule(String ref)
Return a module using a supplied reference. |
Module[] |
getModules()
Return the array of modules that are direct children of this module. |
Resource |
getResource(String ref)
Return a resource using a supplied name. |
Resource[] |
getResources()
Return an array of immediate resources contained within the module. |
Resource[] |
select(String criteria,
boolean local,
boolean sort)
Select a set of resource matching a supplied a resource selection constraint. |
Methods inherited from interface net.dpml.library.Resource |
getAggregatedProviders, getArtifact, getBaseDir, getClassifier, getClasspathProviders, getClasspathProviders, getConsumers, getData, getDecimalVersion, getFilters, getInfo, getLayoutPath, getLibrary, getLinkArtifact, getName, getParent, getProviders, getResourcePath, getStatutoryVersion, getType, getTypes, getVersion, isa |
Methods inherited from interface net.dpml.library.Dictionary |
getBooleanProperty, getIntegerProperty, getLocalPropertyNames, getProperty, getProperty, getPropertyNames, resolve |
Methods inherited from interface net.dpml.util.Resolver |
getProperty, getProperty, resolve, toURI |
Method Detail |
public Resource[] getResources()
public Resource getResource(String ref) throws ResourceNotFoundException
ref
- a path relative to the module
ResourceNotFoundException
- if the ref value is not recognizedpublic Module[] getModules()
public Module[] getAllModules()
public Module getModule(String ref) throws ModuleNotFoundException
ref
- a path relative to the module
ModuleNotFoundException
- if the ref value is not recognizedpublic Resource[] select(String criteria, boolean local, boolean sort)
Select a set of resource matching a supplied a resource selection constraint. The constraint may contain the wildcards '**' and '*'.
local
- if true limit the selection to local projectscriteria
- the selection criteriasort
- if true the returned array will be sorted relative to dependencies
otherwise the array will be sorted alphanumerically with respect to the resource
path
public ModuleDirective export()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |