Enum SecuredRule.Scope
- java.lang.Object
-
- java.lang.Enum<SecuredRule.Scope>
-
- org.duracloud.account.security.domain.SecuredRule.Scope
-
- All Implemented Interfaces:
Serializable,Comparable<SecuredRule.Scope>
- Enclosing class:
- SecuredRule
public static enum SecuredRule.Scope extends Enum<SecuredRule.Scope>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANYSELF_ACCTSELF_ACCT_PEERSELF_ACCT_PEER_UPDATESELF_IDSELF_NAME
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SecuredRule.ScopevalueOf(String name)Returns the enum constant of this type with the specified name.static SecuredRule.Scope[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final SecuredRule.Scope ANY
-
SELF_ID
public static final SecuredRule.Scope SELF_ID
-
SELF_NAME
public static final SecuredRule.Scope SELF_NAME
-
SELF_ACCT
public static final SecuredRule.Scope SELF_ACCT
-
SELF_ACCT_PEER
public static final SecuredRule.Scope SELF_ACCT_PEER
-
SELF_ACCT_PEER_UPDATE
public static final SecuredRule.Scope SELF_ACCT_PEER_UPDATE
-
-
Method Detail
-
values
public static SecuredRule.Scope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SecuredRule.Scope c : SecuredRule.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SecuredRule.Scope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-