Package org.ametys.runtime.plugin
Enum PluginsManager.InactivityCause
- java.lang.Object
-
- java.lang.Enum<PluginsManager.InactivityCause>
-
- org.ametys.runtime.plugin.PluginsManager.InactivityCause
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginsManager.InactivityCause>
- Enclosing class:
- PluginsManager
public static enum PluginsManager.InactivityCause extends Enum<PluginsManager.InactivityCause>
Cause of the deactivation of a feature
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COMPONENT
Constant for features disabled due to not choosen componentDEACTIVATED
Constant for features deactivated by other featuresDEPENDENCY
Constant for features disabled due to missing dependenciesEXCLUDED
Constant for excluded featuresINVALID_POINT
Constant for features disabled to wrong referenced extension pointNOT_SAFE
Feature is not safe while in safe modeOVERRIDDEN
Constant for features overridden by another featurePASSIVE
Constant for passive features that are not necessary (nobody depends on it)UNUSED
Constant for features not enabled byIncludePolicyFeatureActivator
(the feature is not needed as no enabled feature depends on it)
-
Constructor Summary
Constructors Modifier Constructor Description private
InactivityCause()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginsManager.InactivityCause
valueOf(String name)
Returns the enum constant of this type with the specified name.static PluginsManager.InactivityCause[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXCLUDED
public static final PluginsManager.InactivityCause EXCLUDED
Constant for excluded features
-
DEACTIVATED
public static final PluginsManager.InactivityCause DEACTIVATED
Constant for features deactivated by other features
-
OVERRIDDEN
public static final PluginsManager.InactivityCause OVERRIDDEN
Constant for features overridden by another feature
-
COMPONENT
public static final PluginsManager.InactivityCause COMPONENT
Constant for features disabled due to not choosen component
-
DEPENDENCY
public static final PluginsManager.InactivityCause DEPENDENCY
Constant for features disabled due to missing dependencies
-
PASSIVE
public static final PluginsManager.InactivityCause PASSIVE
Constant for passive features that are not necessary (nobody depends on it)
-
INVALID_POINT
public static final PluginsManager.InactivityCause INVALID_POINT
Constant for features disabled to wrong referenced extension point
-
NOT_SAFE
public static final PluginsManager.InactivityCause NOT_SAFE
Feature is not safe while in safe mode
-
UNUSED
public static final PluginsManager.InactivityCause UNUSED
Constant for features not enabled byIncludePolicyFeatureActivator
(the feature is not needed as no enabled feature depends on it)
-
-
Constructor Detail
-
InactivityCause
private InactivityCause()
-
-
Method Detail
-
values
public static PluginsManager.InactivityCause[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PluginsManager.InactivityCause c : PluginsManager.InactivityCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PluginsManager.InactivityCause valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-