com.microsoft.tfs.core.pendingcheckin
Class CheckinConflict
java.lang.Object
com.microsoft.tfs.core.pendingcheckin.CheckinConflict
public class CheckinConflict
- extends java.lang.Object
Represents a conflict discovered before checkin.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- immutable
Constructor Summary |
CheckinConflict(java.lang.String serverItem,
java.lang.String code,
java.lang.String message,
boolean resolvable)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckinConflict
public CheckinConflict(java.lang.String serverItem,
java.lang.String code,
java.lang.String message,
boolean resolvable)
- Parameters:
serverItem
- the server item that had a conflict (must not be null
or empty).code
- the error code from the server (may be null).message
- the conflict message (may be null).resolvable
- whether the conflict was resolvable.
getServerItem
public java.lang.String getServerItem()
getCode
public java.lang.String getCode()
- The error code from the server
- Returns:
- A string containing the error code from the server (may be
null
)
getMessage
public java.lang.String getMessage()
isResolvable
public boolean isResolvable()
© 2015 Microsoft. All rights reserved.