com.microsoft.tfs.core.clients.versioncontrol.specs.version
Class LabelVersionSpec

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.versioncontrol.specs.version.VersionSpec
          extended by 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.clients.versioncontrol.specs.version.VersionSpec
RANGE_DELIMITER
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
LabelVersionSpec(ms.tfs.versioncontrol.clientservices._03._LabelVersionSpec spec)
           
LabelVersionSpec(LabelSpec spec)
           
 
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.clients.versioncontrol.specs.version.VersionSpec
fromWebServiceObject, getWebServiceObject, parseMultipleVersionsFromSpec, parseSingleVersionFromSpec
 
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
 

Field Detail

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
Constructor Detail

LabelVersionSpec

public LabelVersionSpec(ms.tfs.versioncontrol.clientservices._03._LabelVersionSpec spec)

LabelVersionSpec

public LabelVersionSpec(LabelSpec spec)
Method Detail

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.