com.microsoft.tfs.core.clients.versioncontrol.specs
Class LabelItemSpec

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.versioncontrol.specs.LabelItemSpec

public final class LabelItemSpec
extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper

Describes a version control object (by path) at a specific version.

Since:
TEE-SDK-10.1

Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
LabelItemSpec(ms.tfs.versioncontrol.clientservices._03._LabelItemSpec spec)
           
LabelItemSpec()
           
LabelItemSpec(ItemSpec item, VersionSpec version, boolean exclude)
          Constructs an instance with the following parameters.
 
Method Summary
 ItemSpec getItemSpec()
           
 VersionSpec getVersion()
           
 ms.tfs.versioncontrol.clientservices._03._LabelItemSpec getWebServiceObject()
          Gets the web service object this class wraps.
 boolean isExclude()
           
 void setExclude(boolean exclude)
           
 void setItemSpec(ItemSpec item)
           
 void setVersion(VersionSpec version)
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LabelItemSpec

public LabelItemSpec()

LabelItemSpec

public LabelItemSpec(ms.tfs.versioncontrol.clientservices._03._LabelItemSpec spec)

LabelItemSpec

public LabelItemSpec(ItemSpec item,
                     VersionSpec version,
                     boolean exclude)
Constructs an instance with the following parameters.

Parameters:
item - the item to label.
version - the version of the item to which the label will apply, which may be null if exclude is true.
exclude - true if this item is to be excluded from the label, false if it is to be included in the label.
Method Detail

getWebServiceObject

public ms.tfs.versioncontrol.clientservices._03._LabelItemSpec getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

getItemSpec

public ItemSpec getItemSpec()

setItemSpec

public void setItemSpec(ItemSpec item)

getVersion

public VersionSpec getVersion()

setVersion

public void setVersion(VersionSpec version)

isExclude

public boolean isExclude()

setExclude

public void setExclude(boolean exclude)


© 2015 Microsoft. All rights reserved.