com.microsoft.tfs.core.clients.versioncontrol.soapextensions
Class ConflictType
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.ConflictType
public class ConflictType
- extends com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
Describes the conflict type.
- Since:
- TEE-SDK-10.1
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Method Summary |
boolean |
equals(java.lang.Object o)
|
static ConflictType |
fromInteger(int value)
Returns the ConflictType for the specified integer value. |
static ConflictType |
fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._ConflictType webServiceObject)
Gets the correct wrapper type for the given web service object. |
int |
getValue()
|
ms.tfs.versioncontrol.clientservices._03._ConflictType |
getWebServiceObject()
Gets the web service object this class wraps. |
int |
hashCode()
|
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper |
fromWebServiceObject |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
VALUE_MAP
public static final java.util.HashMap<java.lang.Integer,ConflictType> VALUE_MAP
NONE
public static final ConflictType NONE
GET
public static final ConflictType GET
CHECKIN
public static final ConflictType CHECKIN
LOCAL
public static final ConflictType LOCAL
MERGE
public static final ConflictType MERGE
UNKNOWN
public static final ConflictType UNKNOWN
fromInteger
public static ConflictType fromInteger(int value)
- Returns the ConflictType for the specified integer value.
- Parameters:
value
- The integer value.
- Returns:
- The ConflictType corresponding to this value.
fromWebServiceObject
public static ConflictType fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._ConflictType webServiceObject)
- Gets the correct wrapper type for the given web service object.
- Parameters:
webServiceObject
- the web service object (must not be null
)
- Returns:
- the correct wrapper type for the given web service object
- Throws:
java.lang.RuntimeException
- if no wrapper type is known for the given web service object
getWebServiceObject
public ms.tfs.versioncontrol.clientservices._03._ConflictType getWebServiceObject()
- Gets the web service object this class wraps. The returned object should
not be modified.
- Returns:
- the web service object this class wraps.
getValue
public int getValue()
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
hashCode
public int hashCode()
- Overrides:
hashCode
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
© 2015 Microsoft. All rights reserved.