org.jvnet.hudson.test.recipes
Enum PresetData.DataSet

java.lang.Object
  extended by java.lang.Enum<PresetData.DataSet>
      extended by 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
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.
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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.

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 name
NullPointerException - if the argument is null


Copyright © 2004-2013. All Rights Reserved.