Package org.eclipse.jgit.revwalk
Enum RevWalk.GetMergedIntoStrategy
- java.lang.Object
-
- java.lang.Enum<RevWalk.GetMergedIntoStrategy>
-
- org.eclipse.jgit.revwalk.RevWalk.GetMergedIntoStrategy
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RevWalk.GetMergedIntoStrategy>
- Enclosing class:
- RevWalk
private static enum RevWalk.GetMergedIntoStrategy extends java.lang.Enum<RevWalk.GetMergedIntoStrategy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EVALUATE_ALL
RETURN_ON_FIRST_FOUND
RETURN_ON_FIRST_NOT_FOUND
-
Constructor Summary
Constructors Modifier Constructor Description private
GetMergedIntoStrategy()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RevWalk.GetMergedIntoStrategy
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RevWalk.GetMergedIntoStrategy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RETURN_ON_FIRST_FOUND
public static final RevWalk.GetMergedIntoStrategy RETURN_ON_FIRST_FOUND
-
RETURN_ON_FIRST_NOT_FOUND
public static final RevWalk.GetMergedIntoStrategy RETURN_ON_FIRST_NOT_FOUND
-
EVALUATE_ALL
public static final RevWalk.GetMergedIntoStrategy EVALUATE_ALL
-
-
Method Detail
-
values
public static RevWalk.GetMergedIntoStrategy[] 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 (RevWalk.GetMergedIntoStrategy c : RevWalk.GetMergedIntoStrategy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RevWalk.GetMergedIntoStrategy 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
-
-