Package org.jvnet.hudson.test.recipes
Enum PresetData.DataSet
- java.lang.Object
-
- java.lang.Enum<PresetData.DataSet>
-
- org.jvnet.hudson.test.recipes.PresetData.DataSet
-
- All Implemented Interfaces:
Serializable
,Comparable<PresetData.DataSet>
- Enclosing class:
- PresetData
public static enum PresetData.DataSet extends Enum<PresetData.DataSet>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANONYMOUS_READONLY
Secured Hudson where anonymous user is read-only, and any logged in user has a full access.NO_ANONYMOUS_READACCESS
Secured Hudson that has no anonymous read access.SECURED_ACEGI
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PresetData.DataSet
valueOf(String name)
Returns the enum constant of this type with the specified name.static PresetData.DataSet[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_ANONYMOUS_READACCESS
public static final PresetData.DataSet NO_ANONYMOUS_READACCESS
Secured Hudson that has no anonymous read access. Any logged in user can do anything.
-
ANONYMOUS_READONLY
public static final PresetData.DataSet ANONYMOUS_READONLY
Secured Hudson where anonymous user is read-only, and any logged in user has a full access.
-
SECURED_ACEGI
public static final PresetData.DataSet SECURED_ACEGI
-
-
Method Detail
-
values
public static PresetData.DataSet[] 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 (PresetData.DataSet c : PresetData.DataSet.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PresetData.DataSet 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
-
-