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