com.microsoft.tfs.core.clients.versioncontrol.specs.version
Class LatestVersionSpec
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.LatestVersionSpec
public final class LatestVersionSpec
- extends VersionSpec
Describes the latest version of an object. This class is a singleton: use the
INSTANCE
field.
- 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. |
static LatestVersionSpec |
INSTANCE
The single instance of this class. |
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
webServiceObject |
Method Summary |
java.lang.String |
toString()
Returns the version component of the spec string for the type of
VersionSpec implemented by this class. |
java.lang.String |
versionString()
|
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.
T for "tip"!
- Constant Field Value:
84
- See Also:
- Constant Field Values
INSTANCE
public static final LatestVersionSpec INSTANCE
- The single instance of this class.
versionString
public java.lang.String versionString()
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.
© 2015 Microsoft. All rights reserved.