com.microsoft.tfs.core.clients.build.soapextensions
Class WorkspaceMappingType

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
          extended by com.microsoft.tfs.core.clients.build.soapextensions.WorkspaceMappingType

public class WorkspaceMappingType
extends com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper

Describes the type of a workspace mapping.

Since:
TEE-SDK-10.1

Field Summary
static WorkspaceMappingType CLOAK
           
static WorkspaceMappingType MAP
           
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Method Summary
 boolean equals(java.lang.Object o)
           
static WorkspaceMappingType fromWebServiceObject(ms.tfs.build.buildservice._04._WorkspaceMappingType webServiceObject)
          Gets the correct wrapper type for the given web service object.
 ms.tfs.build.buildservice._04._WorkspaceMappingType getWebServiceObject()
          Gets the web service object this class wraps.
 WorkingFolderType getWorkingFolderType()
           
 int hashCode()
           
 
Methods inherited from class com.microsoft.tfs.core.internal.wrappers.EnumerationWrapper
fromWebServiceObject
 
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
 

Field Detail

MAP

public static final WorkspaceMappingType MAP

CLOAK

public static final WorkspaceMappingType CLOAK
Method Detail

fromWebServiceObject

public static WorkspaceMappingType fromWebServiceObject(ms.tfs.build.buildservice._04._WorkspaceMappingType webServiceObject)
Gets the correct wrapper type for the given web service object.

Parameters:
webServiceObject - the web service object (must not be null)
Returns:
the correct wrapper type for the given web service object
Throws:
java.lang.RuntimeException - if no wrapper type is known for the given web service object

getWebServiceObject

public ms.tfs.build.buildservice._04._WorkspaceMappingType getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

getWorkingFolderType

public WorkingFolderType getWorkingFolderType()
Returns:
the working folder type that corresponds to this mapping type.

equals

public boolean equals(java.lang.Object o)
Overrides:
equals in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper

hashCode

public int hashCode()
Overrides:
hashCode in class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper


© 2015 Microsoft. All rights reserved.