|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<AuthzStatus>
com.google.enterprise.adaptor.AuthzStatus
public enum AuthzStatus
Authorization status codes.
| Enum Constant Summary | |
|---|---|
DENY
The authorization is explicitly forbidden. |
|
INDETERMINATE
Permission is neither granted nor forbidden. |
|
PERMIT
The authorization is granted. |
|
| Method Summary | |
|---|---|
String |
getDescription()
Get a short description of the status. |
static AuthzStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AuthzStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final AuthzStatus PERMIT
public static final AuthzStatus DENY
public static final AuthzStatus INDETERMINATE
PERMIT or DENY.
| Method Detail |
|---|
public static AuthzStatus[] values()
for (AuthzStatus c : AuthzStatus.values()) System.out.println(c);
public static AuthzStatus valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String getDescription()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||