com.microsoft.tfs.core.clients.security
Class ActionDefinition
java.lang.Object
com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
com.microsoft.tfs.core.clients.security.ActionDefinition
public class ActionDefinition
- extends com.microsoft.tfs.core.internal.wrappers.WebServiceObjectWrapper
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. |
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 |
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
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.