|
||||||||||
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.soapextensions.Mapping
public abstract class Mapping
Represents a generic mapping of a server item (by path) to something, though
that something is not defined here (see WorkingFolder
).
Derived classes must implement getWebServiceObject().
Field Summary |
---|
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
webServiceObject |
Constructor Summary | |
---|---|
Mapping(ms.tfs.versioncontrol.clientservices._03._Mapping mapping)
|
|
Mapping()
|
|
Mapping(java.lang.String serverItem,
WorkingFolderType type,
RecursionType recursion)
Creates a Mapping tfor the given server item. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
RecursionType |
getDepth()
|
protected static int |
getDepthFromRecursion(RecursionType recursion)
Converts a _RecursionType into a numeric depth value for use
inside the _WorkingFolder class. |
java.lang.String |
getDisplayServerItem()
Gets the path to the server item in this mapping in a format that may differ from the canonical server item (returned by getServerItem() in order to communicate more information to the
user. |
java.lang.String |
getServerItem()
Gets the path to the server item in this mapping. |
WorkingFolderType |
getType()
Gets the type of working folder mapping. |
int |
hashCode()
|
boolean |
isCloaked()
|
void |
setServerItem(java.lang.String item)
Sets the path to the server item in this working folder mapping. |
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper |
---|
toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Mapping()
public Mapping(ms.tfs.versioncontrol.clientservices._03._Mapping mapping)
public Mapping(java.lang.String serverItem, WorkingFolderType type, RecursionType recursion)
Mapping
tfor the given server item.
serverItem
- the server item being mapped (must not be null
)type
- the type of mapping to create (must not be null
)recursion
- the type of recursion to use for the working folder (must not be
null
)Method Detail |
---|
protected static int getDepthFromRecursion(RecursionType recursion)
_RecursionType
into a numeric depth value for use
inside the _WorkingFolder
class.
recursion
- the recursion type to convert (must not be null
)
DEPTH_FULL
or DEPTH_ONE_LEVEL
that
corresponds to the given recursion type.public java.lang.String getServerItem()
public void setServerItem(java.lang.String item)
item
- the server path (must not be null
)public java.lang.String getDisplayServerItem()
Gets the path to the server item in this mapping in a format that may
differ from the canonical server item (returned by
getServerItem()
in order to communicate more information to the
user. For example, one-level working folder mappings (see
DEPTH_ONE_LEVEL
) will have "/*" appended to the path.
Do not compare or sort Mapping
s on this field because it might
change for locale-reasons.
public WorkingFolderType getType()
public RecursionType getDepth()
public boolean isCloaked()
public boolean equals(java.lang.Object obj)
equals
in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
public int hashCode()
hashCode
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 |