|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
com.microsoft.tfs.core.clients.versioncontrol.soapextensions.LockLevel
public class LockLevel
Enumerates the types levels available for version control items.
| Field Summary | |
|---|---|
static LockLevel |
CHECKIN
|
static LockLevel |
CHECKOUT
|
static LockLevel |
NONE
|
static LockLevel |
UNCHANGED
|
static java.util.HashMap<java.lang.Byte,LockLevel> |
VALUE_MAP
A map of enumeration integer values to LockLevel |
| Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
|---|
webServiceObject |
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
|
static LockLevel |
fromByteValue(byte value)
Gets the LockLevel associated with the specified integer value. |
static LockLevel |
fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._LockLevel webServiceObject)
Gets the correct wrapper type for the given web service object. |
byte |
getValue()
Returns the integer value associated with this enumeration. |
ms.tfs.versioncontrol.clientservices._03._LockLevel |
getWebServiceObject()
Gets the web service object this class wraps. |
int |
hashCode()
|
java.lang.String |
toShortUIString()
The localized string appropriate for very space-constrained lock level display (command-line client "status /format:brief" command, for example). |
java.lang.String |
toUIString()
The localized string appropriate for normal text lock level display (command-line client "status /format:detailed" command, for example). |
| 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 |
| Field Detail |
|---|
public static final java.util.HashMap<java.lang.Byte,LockLevel> VALUE_MAP
LockLevel
public static final LockLevel NONE
public static final LockLevel CHECKIN
public static final LockLevel CHECKOUT
public static final LockLevel UNCHANGED
| Method Detail |
|---|
public static LockLevel fromByteValue(byte value)
LockLevel associated with the specified integer value.
value - The integer value for this item type.
LockLevel with the associated integer value.public static LockLevel fromWebServiceObject(ms.tfs.versioncontrol.clientservices._03._LockLevel webServiceObject)
webServiceObject - the web service object (must not be null)
java.lang.RuntimeException - if no wrapper type is known for the given web service objectpublic ms.tfs.versioncontrol.clientservices._03._LockLevel getWebServiceObject()
public byte getValue()
public java.lang.String toUIString()
public java.lang.String toShortUIString()
public boolean equals(java.lang.Object o)
equals in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapperpublic int hashCode()
hashCode in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||