public class MergeStatusType
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static MergeStatusType |
CANCELED
The compare/merge operation has been cancelled.
|
static MergeStatusType |
COMPLETED
The compare/merge operation completed successfully.
|
static MergeStatusType |
FAILED
The compare/merge operation failed for some reasons.
|
static MergeStatusType |
NO_DIFFS
There is no differences between contributors.
|
static MergeStatusType |
UNKNOWN
Unknown merge status type.
|
static MergeStatusType |
UNRESOLVED_CONFLICTS
The merge operation had unresolved conflicts.
|
static MergeStatusType |
WARNING
There were warnings in compare/merge operation.
|
Modifier | Constructor and Description |
---|---|
protected |
MergeStatusType(java.lang.String name,
int ordinal)
Constructs a new status type with the specified name and ordinal.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object object)
Indicates whether some other object is "equal to" this enumerated type.
|
java.lang.String |
getName()
Retrieves the value of the
name instance variable. |
int |
getOrdinal()
Retrieves the value of the
ordinal instance variable. |
protected java.util.List |
getValues()
Retrieves the list of constants for this enumerated type.
|
int |
hashCode()
Retrieves a hash code value for this enumerated type.
|
java.lang.String |
toString()
Retrieves a textual representation of this enumerated type.
|
public static final MergeStatusType COMPLETED
public static final MergeStatusType NO_DIFFS
public static final MergeStatusType UNRESOLVED_CONFLICTS
public static final MergeStatusType CANCELED
public static final MergeStatusType FAILED
public static final MergeStatusType WARNING
public static final MergeStatusType UNKNOWN
protected MergeStatusType(java.lang.String name, int ordinal)
name
- The name of the new slot type.ordinal
- The ordinal for the new slot type.protected java.util.List getValues()
public java.lang.String getName()
name
instance variable.name
instance variable.public final int getOrdinal()
ordinal
instance variable.ordinal
instance variable.public final boolean equals(java.lang.Object object)
equals
in class java.lang.Object
object
- The reference object with which to compare.true
if this enumerated type is the same as the
object argument; false
otherwise.Object.equals(Object)
public final int hashCode()
java.util.Hashtable
.hashCode
in class java.lang.Object
Object.hashCode()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()