com.microsoft.tfs.core.clients.versioncontrol.specs.version
Class LabelVersionSpec
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec
com.microsoft.tfs.core.clients.versioncontrol.specs.version.LabelVersionSpec
public final class LabelVersionSpec
- extends VersionSpec
Describes a label version.
- Since:
- TEE-SDK-10.1
- Thread-safety:
- immutable
Field Summary |
protected static char |
IDENTIFIER
The single character identifier for the type of VersionSpec implemented
by this class. |
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Method Summary |
java.lang.String |
getLabel()
|
java.lang.String |
getScope()
|
java.lang.String |
toString()
Returns the version component of the spec string for the type of
VersionSpec implemented by this class. |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
equals, hashCode |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IDENTIFIER
protected static final char IDENTIFIER
- The single character identifier for the type of VersionSpec implemented
by this class.
- Constant Field Value:
76
- See Also:
- Constant Field Values
LabelVersionSpec
public LabelVersionSpec(ms.tfs.versioncontrol.clientservices._03._LabelVersionSpec spec)
LabelVersionSpec
public LabelVersionSpec(LabelSpec spec)
toString
public java.lang.String toString()
- Description copied from class:
VersionSpec
- Returns the version component of the spec string for the type of
VersionSpec implemented by this class. This is used to format version
specs for display to the user.
- Specified by:
toString
in class VersionSpec
- Returns:
- the version component of the spec string.
getLabel
public java.lang.String getLabel()
- Returns:
- the label name.
getScope
public java.lang.String getScope()
- Returns:
- the scope for this label spec, null for the default scope.
© 2015 Microsoft. All rights reserved.