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_causeprivate String_featureId
-
Constructor Summary
Constructors Modifier Constructor Description privateIncludedFeature(String featureId, String cause)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringcause()Gets the cause of the inclusion of the featureStringfeatureId()Gets the feature idstatic IncludePolicyFeatureActivator.IncludedFeatureof(String featureId, String cause)StringtoString()
-
-
-
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
-
-