Package hudson.plugins.octopusdeploy
Enum OctopusValidator.ReleaseExistenceRequirement
- java.lang.Object
-
- java.lang.Enum<OctopusValidator.ReleaseExistenceRequirement>
-
- hudson.plugins.octopusdeploy.OctopusValidator.ReleaseExistenceRequirement
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<OctopusValidator.ReleaseExistenceRequirement>
- Enclosing class:
- OctopusValidator
public static enum OctopusValidator.ReleaseExistenceRequirement extends java.lang.Enum<OctopusValidator.ReleaseExistenceRequirement>
Whether or not a release must exist or must not exist depending on the operation being done.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MustExist
MustNotExist
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OctopusValidator.ReleaseExistenceRequirement
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static OctopusValidator.ReleaseExistenceRequirement[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MustExist
public static final OctopusValidator.ReleaseExistenceRequirement MustExist
-
MustNotExist
public static final OctopusValidator.ReleaseExistenceRequirement MustNotExist
-
-
Method Detail
-
values
public static OctopusValidator.ReleaseExistenceRequirement[] 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 (OctopusValidator.ReleaseExistenceRequirement c : OctopusValidator.ReleaseExistenceRequirement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OctopusValidator.ReleaseExistenceRequirement valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-