|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
FeatureModelConfigurators are used by the feature model to choose between alternative implementations of FeatureFactories, FeatureConstructorFactories, FeatureActionFactories. A configurator can also disable particular FeatureSets, FeatureActions, FeatureConstructors.
Method Summary | |
com.sun.java.util.collections.Set |
getSupportedFeatureTypes()
A configurator is only interested in a subset of all feature types. |
boolean |
isDefaultFeatureConstructor(Feature parent,
java.lang.String childType,
FeatureConstructor constructor)
The configurator can veto the choice of a particular constructor as the default one. |
boolean |
isFeatureActionEnabled(Feature feature,
FeatureAction action)
The configurator can disable a specific feature action. |
boolean |
isFeatureActionFactoryEnabled(Feature feature,
FeatureActionFactory factory)
The configurator can veto action allocation by a factory. |
boolean |
isFeatureConstructorEnabled(Feature parent,
java.lang.String childType,
FeatureConstructor constructor)
The configurator can veto the use of a particular constructor. |
boolean |
isFeatureConstructorFactoryEnabled(Feature parent,
java.lang.String childType,
FeatureConstructorFactory factory)
The configurator can veto feature constructor allocation by a factory |
boolean |
isFeatureFactoryEnabled(Feature parent,
java.lang.String type,
FeatureFactory factory)
The configurator can veto the use of a particular feature factory |
boolean |
isFeatureRecognitionEnabled(Feature parent,
java.net.URL url,
FeatureFactory factory)
The configurator can veto feature recognition by a feature set associated with a particular feature factory. |
Method Detail |
public com.sun.java.util.collections.Set getSupportedFeatureTypes()
public boolean isFeatureFactoryEnabled(Feature parent, java.lang.String type, FeatureFactory factory)
public boolean isFeatureRecognitionEnabled(Feature parent, java.net.URL url, FeatureFactory factory)
public boolean isFeatureConstructorFactoryEnabled(Feature parent, java.lang.String childType, FeatureConstructorFactory factory)
public boolean isFeatureConstructorEnabled(Feature parent, java.lang.String childType, FeatureConstructor constructor)
public boolean isDefaultFeatureConstructor(Feature parent, java.lang.String childType, FeatureConstructor constructor)
public boolean isFeatureActionFactoryEnabled(Feature feature, FeatureActionFactory factory)
public boolean isFeatureActionEnabled(Feature feature, FeatureAction action)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |