Package org.ametys.runtime.plugin
Enum PluginsManager.Status
- java.lang.Object
-
- java.lang.Enum<PluginsManager.Status>
-
- org.ametys.runtime.plugin.PluginsManager.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<PluginsManager.Status>
- Enclosing class:
- PluginsManager
public static enum PluginsManager.Status extends Enum<PluginsManager.Status>
PluginsManager status after initialization.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFIG_INCOMPLETE
There was no errors, but the configuration is incomplete.NO_CONFIG
There was no errors, but the configuration is missing.NOT_INITIALIZED
There were issues during components loading.OK
Everything is ok.RUNTIME_NOT_LOADED
The runtime.xml could not be loaded.SAFE_MODE_FORCED
Safe mode has been forced.WRONG_DEFINITIONS
Something was wrong when reading plugins definitions.
-
Constructor Summary
Constructors Modifier Constructor Description private
Status()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PluginsManager.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static PluginsManager.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final PluginsManager.Status OK
Everything is ok. All features were correctly loaded.
-
NO_CONFIG
public static final PluginsManager.Status NO_CONFIG
There was no errors, but the configuration is missing.
-
CONFIG_INCOMPLETE
public static final PluginsManager.Status CONFIG_INCOMPLETE
There was no errors, but the configuration is incomplete.
-
WRONG_DEFINITIONS
public static final PluginsManager.Status WRONG_DEFINITIONS
Something was wrong when reading plugins definitions.
-
NOT_INITIALIZED
public static final PluginsManager.Status NOT_INITIALIZED
There were issues during components loading.
-
RUNTIME_NOT_LOADED
public static final PluginsManager.Status RUNTIME_NOT_LOADED
The runtime.xml could not be loaded.
-
SAFE_MODE_FORCED
public static final PluginsManager.Status SAFE_MODE_FORCED
Safe mode has been forced.
-
-
Constructor Detail
-
Status
private Status()
-
-
Method Detail
-
values
public static PluginsManager.Status[] 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.Status c : PluginsManager.Status.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.Status 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
-
-