com.ibm.task.api
Class AuthorizationType
- java.lang.Object
com.ibm.task.api.AuthorizationType
All implemented interfaces:
java.io.Serializable
- public final class AuthorizationType
- extends java.lang.Object
- implements java.io.Serializable
Since:
7.0
See Also:
Field Summary
Modifier and Type | Field and Description |
---|---|
|
COPYRIGHT
|
|
INSTANCE_BASED
Symbolic constant for authorization type INSTANCE_BASED
|
|
NONE
Symbolic constant for authorization type NONE
|
|
ROLE_BASED
Symbolic constant for authorization type ROLE_BASED
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
newAuthorizationType(java.lang.String typeString)
Factory method to create an authorization type by its string representation.
|
|
toString()
Returns a string representation of the authorization type.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail
COPYRIGHT
- public static final java.lang.String COPYRIGHT
See Also:
NONE
- public static final AuthorizationType NONE
Symbolic constant for authorization type NONE
INSTANCE_BASED
- public static final AuthorizationType INSTANCE_BASED
Symbolic constant for authorization type INSTANCE_BASED
ROLE_BASED
- public static final AuthorizationType ROLE_BASED
Symbolic constant for authorization type ROLE_BASED
Method Detail
newAuthorizationType
- public static AuthorizationType newAuthorizationType( java.lang.String typeString)
Factory method to create an authorization type by its string representation.
If the enum passed is not a valid type enumeration, null is returned.
Parameters:
typeString
- The string representation of an authorization type. Returns:
AuthorizationType -
The AuthorizationType object that is created.
toString
- public java.lang.String toString( )
Returns a string representation of the authorization type.
Overrides:
toString
in class java.lang.Object
Returns:
String -
A string representation of the authorization type.