|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.Targets
A target is a tagged configuration fragment. The tag is a path seperated by "/" charaters qualifying the component that the target configuration is to be applied to.
Constructor Summary | |
Targets()
Create an empty Targets instance. |
|
Targets(TargetDirective[] targets)
Create a new Targets instance. |
Method Summary | |
TargetDirective |
getTarget(String path)
Return a matching target. |
TargetDirective[] |
getTargets()
Return all targets. |
Targets |
getTargets(String path)
Return a set of targets relative to the supplied path. |
String |
toString()
Return a string representation of the target. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public Targets()
public Targets(TargetDirective[] targets)
targets
- the set of targetsMethod Detail |
public TargetDirective[] getTargets()
public TargetDirective getTarget(String path)
path
- the target path to lookup
public Targets getTargets(String path)
path
- the base path to match against
public String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |