Enum DenormalisedPermissionServiceState
- java.lang.Object
-
- java.lang.Enum<DenormalisedPermissionServiceState>
-
- com.atlassian.confluence.security.denormalisedpermissions.DenormalisedPermissionServiceState
-
- All Implemented Interfaces:
Serializable,Comparable<DenormalisedPermissionServiceState>
public enum DenormalisedPermissionServiceState extends Enum<DenormalisedPermissionServiceState>
State of the service (does not include the state of API)- Since:
- 7.10.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DISABLEDERRORINITIALISINGSERVICE_READYSHUTTING_DOWNSTALE_DATA
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanisDisablingAllowed()booleanisEnablingAllowed()static DenormalisedPermissionServiceStatevalueOf(String name)Returns the enum constant of this type with the specified name.static DenormalisedPermissionServiceState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final DenormalisedPermissionServiceState DISABLED
-
INITIALISING
public static final DenormalisedPermissionServiceState INITIALISING
-
SHUTTING_DOWN
public static final DenormalisedPermissionServiceState SHUTTING_DOWN
-
SERVICE_READY
public static final DenormalisedPermissionServiceState SERVICE_READY
-
STALE_DATA
public static final DenormalisedPermissionServiceState STALE_DATA
-
ERROR
public static final DenormalisedPermissionServiceState ERROR
-
-
Method Detail
-
values
public static DenormalisedPermissionServiceState[] 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 (DenormalisedPermissionServiceState c : DenormalisedPermissionServiceState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DenormalisedPermissionServiceState 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
-
isDisablingAllowed
public boolean isDisablingAllowed()
-
isEnablingAllowed
public boolean isEnablingAllowed()
-
-