|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.versioncontrol.specs.ItemSpec
public class ItemSpec
Describes a repository object, using either a local or server path, including an optional deletion ID identifier and a recursion type. It is not generally converted to/from string representation.
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
webServiceObject |
Constructor Summary | |
---|---|
ItemSpec(ms.tfs.versioncontrol.clientservices._03._ItemSpec spec)
|
|
ItemSpec()
|
|
ItemSpec(PendingChange pendingChange)
Convenience constructor to build an ItemSpec from a
PendingChange . |
|
ItemSpec(java.lang.String item,
RecursionType recurse)
Constructs an instance with the following parameters. |
|
ItemSpec(java.lang.String item,
RecursionType recurse,
int did)
Constructs an instance with the following parameters. |
Method Summary | |
---|---|
static ItemSpec[] |
fromStrings(java.lang.String[] localOrServerItems,
RecursionType recursion)
Create item specs from strings. |
int |
getDeletionID()
|
java.lang.String |
getItem()
|
RecursionType |
getRecursionType()
|
ms.tfs.versioncontrol.clientservices._03._ItemSpec |
getWebServiceObject()
Gets the web service object this class wraps. |
void |
setDeletionID(int did)
|
void |
setItem(java.lang.String item)
|
void |
setRecursionType(RecursionType recurse)
|
java.lang.String |
toString()
|
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 |
Constructor Detail |
---|
public ItemSpec()
public ItemSpec(ms.tfs.versioncontrol.clientservices._03._ItemSpec spec)
public ItemSpec(java.lang.String item, RecursionType recurse, int did)
item
- a local or server path.recurse
- the recursion type.did
- a deletion ID.public ItemSpec(java.lang.String item, RecursionType recurse)
item
- a local or server path.recurse
- the recursion type.public ItemSpec(PendingChange pendingChange)
ItemSpec
from a
PendingChange
.
pendingChange
- the PendingChange
to build the ItemSpec
from (must
not be null
)Method Detail |
---|
public ms.tfs.versioncontrol.clientservices._03._ItemSpec getWebServiceObject()
public static ItemSpec[] fromStrings(java.lang.String[] localOrServerItems, RecursionType recursion)
localOrServerItems
- the local or server paths to use (must not be null
)recursion
- the type of recursion to use for each item spec (must not be
null
)
public int getDeletionID()
public java.lang.String getItem()
public RecursionType getRecursionType()
public void setDeletionID(int did)
public void setItem(java.lang.String item)
public void setRecursionType(RecursionType recurse)
public java.lang.String toString()
toString
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |