com.microsoft.tfs.core.clients.versioncontrol.soapextensions
Class VersionControlLabel

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.versioncontrol.soapextensions.VersionControlLabel

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

Represents a label applied to a source code control item.

Since:
TEE-SDK-10.1
Thread-safety:
thread-compatible

Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
VersionControlLabel(ms.tfs.versioncontrol.clientservices._03._VersionControlLabel label)
           
VersionControlLabel()
           
VersionControlLabel(java.lang.String name, java.lang.String owner, java.lang.String ownerDisplayName, java.lang.String scope, java.lang.String comment)
          Constructs a version control label to be sent to the server.
 
Method Summary
 java.lang.String getComment()
           
 java.util.Calendar getDate()
           
 Item[] getItems()
           
 java.lang.String getName()
           
 java.lang.String getOwner()
           
 java.lang.String getOwnerDisplayName()
           
 java.lang.String getScope()
           
 ms.tfs.versioncontrol.clientservices._03._VersionControlLabel getWebServiceObject()
          Gets the web service object this class wraps.
 void setOwner(java.lang.String owner)
           
 
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

VersionControlLabel

public VersionControlLabel()

VersionControlLabel

public VersionControlLabel(ms.tfs.versioncontrol.clientservices._03._VersionControlLabel label)

VersionControlLabel

public VersionControlLabel(java.lang.String name,
                           java.lang.String owner,
                           java.lang.String ownerDisplayName,
                           java.lang.String scope,
                           java.lang.String comment)
Constructs a version control label to be sent to the server. A version control label contains a collection of items, but those are sent to the server separately during label creation, so they are not included in this constructor. That field (and others) is only used to return results of label queries performed against the server.

Parameters:
name - the name of the label (must not be null)
owner - the owner of the label.
scope - the scope of the label.
comment - a comment to attach to the label.
Method Detail

getWebServiceObject

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

Returns:
the web service object this class wraps.

getName

public java.lang.String getName()

getOwner

public java.lang.String getOwner()

setOwner

public void setOwner(java.lang.String owner)

getOwnerDisplayName

public java.lang.String getOwnerDisplayName()

getScope

public java.lang.String getScope()

getComment

public java.lang.String getComment()

getDate

public java.util.Calendar getDate()

getItems

public Item[] getItems()


© 2015 Microsoft. All rights reserved.