com.microsoft.tfs.core.clients.security
Class ActionDefinition

java.lang.Object
  extended by com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
      extended by com.microsoft.tfs.core.clients.security.ActionDefinition

public class ActionDefinition
extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper


Field Summary
 
Fields inherited from class com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
webServiceObject
 
Constructor Summary
ActionDefinition(ms.ws._ActionDefinition webServiceObject)
           
ActionDefinition(int bit, java.lang.String name, java.lang.String displayName)
          Creates and ActionDefinition based on the inputs.
 
Method Summary
 int getBit()
           
 java.lang.String getDisplayName()
           
 java.lang.String getName()
           
 ms.ws._ActionDefinition 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

ActionDefinition

public ActionDefinition(ms.ws._ActionDefinition webServiceObject)

ActionDefinition

public ActionDefinition(int bit,
                        java.lang.String name,
                        java.lang.String displayName)
Creates and ActionDefinition based on the inputs.

Parameters:
bit - The bit mask integer for this action. Must be a power of 2.
name - The non-localized name for this action.
displayName - The localized display name for this action
Method Detail

getWebServiceObject

public ms.ws._ActionDefinition getWebServiceObject()
Gets the web service object this class wraps. The returned object should not be modified.

Returns:
the web service object this class wraps.

getBit

public int getBit()
Returns:
the bit mask integer for this action. Must be a power of 2.

getName

public java.lang.String getName()
Returns:
the non-localized name for this action.

getDisplayName

public java.lang.String getDisplayName()
Returns:
the localized display name for this action.


© 2015 Microsoft. All rights reserved.