|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.composition.data.SelectionDirective
A DependencyDirective contains information describing how a depedency should be resolved.
Field Summary | |
static String |
EQUALS
|
static String |
EXISTS
|
static String |
INCLUDES
|
Constructor Summary | |
SelectionDirective(String feature,
String value,
String criteria,
boolean optional)
Creation of a new dependency directive. |
Method Summary | |
String |
getCriteria()
Return the feature selection criteria. |
String |
getFeature()
Return the feature name. |
String |
getValue()
Return the feature value. |
boolean |
isOptional()
Return the optional status of this directive. |
boolean |
isRequired()
Return the required status of this directive. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String EXISTS
public static final String EQUALS
public static final String INCLUDES
Constructor Detail |
public SelectionDirective(String feature, String value, String criteria, boolean optional)
feature
- the selection featurevalue
- the value to assescriteria
- the selection criteriaoptional
- the optional statusMethod Detail |
public String getFeature()
public String getValue()
public String getCriteria()
public boolean isRequired()
public boolean isOptional()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |