Enum InheritableStringParameterDefinition.IModes
- java.lang.Object
-
- java.lang.Enum<InheritableStringParameterDefinition.IModes>
-
- hudson.plugins.project_inheritance.projects.parameters.InheritableStringParameterDefinition.IModes
-
- All Implemented Interfaces:
Serializable,Comparable<InheritableStringParameterDefinition.IModes>
- Enclosing class:
- InheritableStringParameterDefinition
public static enum InheritableStringParameterDefinition.IModes extends Enum<InheritableStringParameterDefinition.IModes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXTENSIBLEFIXEDOVERWRITABLE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InheritableStringParameterDefinition.IModesgetFromName(String name)booleanisFixed()Necessary because stupid Jelly can't easily compare enum constants TODO: Find a way to fix that for file: src\main\resources\hudson\plugins\project_inheritance\projects\...StringtoString()static InheritableStringParameterDefinition.IModesvalueOf(String name)Returns the enum constant of this type with the specified name.static InheritableStringParameterDefinition.IModes[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OVERWRITABLE
public static final InheritableStringParameterDefinition.IModes OVERWRITABLE
-
EXTENSIBLE
public static final InheritableStringParameterDefinition.IModes EXTENSIBLE
-
FIXED
public static final InheritableStringParameterDefinition.IModes FIXED
-
-
Method Detail
-
values
public static InheritableStringParameterDefinition.IModes[] 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 (InheritableStringParameterDefinition.IModes c : InheritableStringParameterDefinition.IModes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InheritableStringParameterDefinition.IModes 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
-
getFromName
public static InheritableStringParameterDefinition.IModes getFromName(String name)
-
toString
public String toString()
- Overrides:
toStringin classEnum<InheritableStringParameterDefinition.IModes>
-
isFixed
public boolean isFixed()
Necessary because stupid Jelly can't easily compare enum constants TODO: Find a way to fix that for file: src\main\resources\hudson\plugins\project_inheritance\projects\... ...parameters\InheritableStringParameterDefinition\index.jelly- Returns:
- true, if the mode is equal to
FIXED
-
-