Enum AddEditedChoiceListProvider.WhenToAdd
- java.lang.Object
-
- java.lang.Enum<AddEditedChoiceListProvider.WhenToAdd>
-
- jp.ikedam.jenkins.plugins.extensible_choice_parameter.AddEditedChoiceListProvider.WhenToAdd
-
- All Implemented Interfaces:
Serializable
,Comparable<AddEditedChoiceListProvider.WhenToAdd>
- Enclosing class:
- AddEditedChoiceListProvider
public static enum AddEditedChoiceListProvider.WhenToAdd extends Enum<AddEditedChoiceListProvider.WhenToAdd>
Used to Specify when to add a edited value
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Completed
When a build is completedCompletedStable
When a build is completed successfullyCompletedUnstable
When a build is completed successfully, including unstable.Triggered
When a build is triggered and enqueued.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
contains(Result result)
String
toString()
static AddEditedChoiceListProvider.WhenToAdd
valueOf(String name)
Returns the enum constant of this type with the specified name.static AddEditedChoiceListProvider.WhenToAdd[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Triggered
public static final AddEditedChoiceListProvider.WhenToAdd Triggered
When a build is triggered and enqueued.
-
Completed
public static final AddEditedChoiceListProvider.WhenToAdd Completed
When a build is completed
-
CompletedStable
public static final AddEditedChoiceListProvider.WhenToAdd CompletedStable
When a build is completed successfully
-
CompletedUnstable
public static final AddEditedChoiceListProvider.WhenToAdd CompletedUnstable
When a build is completed successfully, including unstable.
-
-
Method Detail
-
values
public static AddEditedChoiceListProvider.WhenToAdd[] 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 (AddEditedChoiceListProvider.WhenToAdd c : AddEditedChoiceListProvider.WhenToAdd.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddEditedChoiceListProvider.WhenToAdd 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
-
toString
public String toString()
- Overrides:
toString
in classEnum<AddEditedChoiceListProvider.WhenToAdd>
-
contains
public boolean contains(Result result)
-
-