Package hudson.plugins.groovy
Enum Groovy.BuilderType
- java.lang.Object
-
- java.lang.Enum<Groovy.BuilderType>
-
- hudson.plugins.groovy.Groovy.BuilderType
-
- All Implemented Interfaces:
Serializable
,Comparable<Groovy.BuilderType>
- Enclosing class:
- Groovy
public static enum Groovy.BuilderType extends Enum<Groovy.BuilderType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Groovy.BuilderType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Groovy.BuilderType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
COMMAND
public static final Groovy.BuilderType COMMAND
-
FILE
public static final Groovy.BuilderType FILE
-
-
Method Detail
-
values
public static Groovy.BuilderType[] 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 (Groovy.BuilderType c : Groovy.BuilderType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Groovy.BuilderType 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
-
-