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

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.ChangesetVersionSpec

public final class ChangesetVersionSpec
extends VersionSpec

Describes a Changeset 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
ChangesetVersionSpec(ms.tfs.versioncontrol.clientservices._03._ChangesetVersionSpec spec)
           
ChangesetVersionSpec(int changeSetNumber)
           
 
Method Summary
 int getChangeset()
           
 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:
67
See Also:
Constant Field Values
Constructor Detail

ChangesetVersionSpec

public ChangesetVersionSpec(int changeSetNumber)

ChangesetVersionSpec

public ChangesetVersionSpec(ms.tfs.versioncontrol.clientservices._03._ChangesetVersionSpec 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.

getChangeset

public int getChangeset()


© 2015 Microsoft. All rights reserved.