Package org.ametys.runtime.plugin
Class IncludePolicyFeatureActivator.IncludedFeature
- java.lang.Object
-
- org.ametys.runtime.plugin.IncludePolicyFeatureActivator.IncludedFeature
-
- Enclosing class:
- IncludePolicyFeatureActivator
public static final class IncludePolicyFeatureActivator.IncludedFeature extends Object
A feature to include byIncludePolicyFeatureActivator
-
-
Field Summary
Fields Modifier and Type Field Description private String
_cause
private String
_featureId
-
Constructor Summary
Constructors Modifier Constructor Description private
IncludedFeature(String featureId, String cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
cause()
Gets the cause of the inclusion of the featureString
featureId()
Gets the feature idstatic IncludePolicyFeatureActivator.IncludedFeature
of(String featureId, String cause)
String
toString()
-
-
-
Field Detail
-
_featureId
private String _featureId
-
-
Constructor Detail
-
IncludedFeature
private IncludedFeature(String featureId, String cause)
-
-
Method Detail
-
of
public static IncludePolicyFeatureActivator.IncludedFeature of(String featureId, String cause)
- Parameters:
featureId
- The id of the featurecause
- The cause of its inclusion- Returns:
- the feature to include
-
cause
public String cause()
Gets the cause of the inclusion of the feature- Returns:
- the cause of the inclusion of the feature
-
-