Enum Authorization
- java.lang.Object
-
- java.lang.Enum<Authorization>
-
- com.chutneytesting.server.core.domain.security.Authorization
-
- All Implemented Interfaces:
Serializable,Comparable<Authorization>
public enum Authorization extends Enum<Authorization>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADMIN_ACCESSCAMPAIGN_EXECUTECAMPAIGN_READCAMPAIGN_WRITECOMPONENT_READCOMPONENT_WRITEDATASET_READDATASET_WRITEENVIRONMENT_ACCESSGLOBAL_VAR_READGLOBAL_VAR_WRITESCENARIO_EXECUTESCENARIO_READSCENARIO_WRITE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AuthorizationvalueOf(String name)Returns the enum constant of this type with the specified name.static Authorization[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SCENARIO_READ
public static final Authorization SCENARIO_READ
-
SCENARIO_WRITE
public static final Authorization SCENARIO_WRITE
-
SCENARIO_EXECUTE
public static final Authorization SCENARIO_EXECUTE
-
CAMPAIGN_READ
public static final Authorization CAMPAIGN_READ
-
CAMPAIGN_WRITE
public static final Authorization CAMPAIGN_WRITE
-
CAMPAIGN_EXECUTE
public static final Authorization CAMPAIGN_EXECUTE
-
ENVIRONMENT_ACCESS
public static final Authorization ENVIRONMENT_ACCESS
-
GLOBAL_VAR_READ
public static final Authorization GLOBAL_VAR_READ
-
GLOBAL_VAR_WRITE
public static final Authorization GLOBAL_VAR_WRITE
-
DATASET_READ
public static final Authorization DATASET_READ
-
DATASET_WRITE
public static final Authorization DATASET_WRITE
-
COMPONENT_READ
public static final Authorization COMPONENT_READ
-
COMPONENT_WRITE
public static final Authorization COMPONENT_WRITE
-
ADMIN_ACCESS
public static final Authorization ADMIN_ACCESS
-
-
Method Detail
-
values
public static Authorization[] 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 (Authorization c : Authorization.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Authorization 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
-
-