Package org.ametys.runtime.workspace
Enum WorkspaceManager.InactivityCause
- java.lang.Object
-
- java.lang.Enum<WorkspaceManager.InactivityCause>
-
- org.ametys.runtime.workspace.WorkspaceManager.InactivityCause
-
- All Implemented Interfaces:
Serializable
,Comparable<WorkspaceManager.InactivityCause>
- Enclosing class:
- WorkspaceManager
public static enum WorkspaceManager.InactivityCause extends Enum<WorkspaceManager.InactivityCause>
Cause of the deactivation of a workspace
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXCLUDED
Constant for excluded workspacesMISCONFIGURED
Constant for workspaces having error in their workspace.xml fileMISDECLARED
Constant for workspaces having error in their declaration
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WorkspaceManager.InactivityCause
valueOf(String name)
Returns the enum constant of this type with the specified name.static WorkspaceManager.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 WorkspaceManager.InactivityCause EXCLUDED
Constant for excluded workspaces
-
MISDECLARED
public static final WorkspaceManager.InactivityCause MISDECLARED
Constant for workspaces having error in their declaration
-
MISCONFIGURED
public static final WorkspaceManager.InactivityCause MISCONFIGURED
Constant for workspaces having error in their workspace.xml file
-
-
Method Detail
-
values
public static WorkspaceManager.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 (WorkspaceManager.InactivityCause c : WorkspaceManager.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 WorkspaceManager.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
-
-