Package org.jenkinsci.plugins.gitclient
Enum MergeCommand.GitPluginFastForwardMode
- java.lang.Object
-
- java.lang.Enum<MergeCommand.GitPluginFastForwardMode>
-
- org.jenkinsci.plugins.gitclient.MergeCommand.GitPluginFastForwardMode
-
- All Implemented Interfaces:
Serializable
,Comparable<MergeCommand.GitPluginFastForwardMode>
- Enclosing interface:
- MergeCommand
public static enum MergeCommand.GitPluginFastForwardMode extends Enum<MergeCommand.GitPluginFastForwardMode>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static MergeCommand.GitPluginFastForwardMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static MergeCommand.GitPluginFastForwardMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FF
public static final MergeCommand.GitPluginFastForwardMode FF
-
FF_ONLY
public static final MergeCommand.GitPluginFastForwardMode FF_ONLY
-
NO_FF
public static final MergeCommand.GitPluginFastForwardMode NO_FF
-
-
Method Detail
-
values
public static MergeCommand.GitPluginFastForwardMode[] 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 (MergeCommand.GitPluginFastForwardMode c : MergeCommand.GitPluginFastForwardMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MergeCommand.GitPluginFastForwardMode 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<MergeCommand.GitPluginFastForwardMode>
-
-