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

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

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

Contains a checkin policy failure that's sent back to the server with an excuse inside an PolicyOverrideInfo object.

Since:
TEE-SDK-10.1

Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
PolicyFailureInfo(ms.tfs.versioncontrol.clientservices._03._PolicyFailureInfo failure)
           
PolicyFailureInfo()
           
PolicyFailureInfo(PolicyFailure policyFailure)
           
PolicyFailureInfo(java.lang.String policyName, java.lang.String message)
           
 
Method Summary
 java.lang.String getMessage()
           
 ms.tfs.versioncontrol.clientservices._03._PolicyFailureInfo getWebServiceObject()
          Gets the web service object this class wraps.
 
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

PolicyFailureInfo

public PolicyFailureInfo()

PolicyFailureInfo

public PolicyFailureInfo(ms.tfs.versioncontrol.clientservices._03._PolicyFailureInfo failure)

PolicyFailureInfo

public PolicyFailureInfo(java.lang.String policyName,
                         java.lang.String message)

PolicyFailureInfo

public PolicyFailureInfo(PolicyFailure policyFailure)
Method Detail

getWebServiceObject

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

Returns:
the web service object this class wraps.

getMessage

public java.lang.String getMessage()
Returns:
the failure message


© 2015 Microsoft. All rights reserved.