Package com.oracle.bmc.devops.model
Enum DiffLineDetails.ConflictMarker
- java.lang.Object
-
- java.lang.Enum<DiffLineDetails.ConflictMarker>
-
- com.oracle.bmc.devops.model.DiffLineDetails.ConflictMarker
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<DiffLineDetails.ConflictMarker>
- Enclosing class:
- DiffLineDetails
public static enum DiffLineDetails.ConflictMarker extends Enum<DiffLineDetails.ConflictMarker> implements BmcEnum
Indicates whether a line in a conflicted section of the difference is from the base version, the target version, or if its just a marker indicating the beginning, middle, or end of a conflicted section.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Base
Marker
None
Target
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DiffLineDetails.ConflictMarker
create(String key)
String
getValue()
static DiffLineDetails.ConflictMarker
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiffLineDetails.ConflictMarker[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Base
public static final DiffLineDetails.ConflictMarker Base
-
Target
public static final DiffLineDetails.ConflictMarker Target
-
Marker
public static final DiffLineDetails.ConflictMarker Marker
-
None
public static final DiffLineDetails.ConflictMarker None
-
UnknownEnumValue
public static final DiffLineDetails.ConflictMarker UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static DiffLineDetails.ConflictMarker[] 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 (DiffLineDetails.ConflictMarker c : DiffLineDetails.ConflictMarker.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiffLineDetails.ConflictMarker 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
-
create
public static DiffLineDetails.ConflictMarker create(String key)
-
-