| Enum Constant | Description |
|---|---|
APPLICATION |
|
GROUP |
|
USER |
| Modifier and Type | Method | Description |
|---|---|---|
static Rule.Type |
fromValue(java.lang.String value) |
|
java.lang.String |
toString() |
|
java.lang.String |
value() |
|
static Rule.Type |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static Rule.Type[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rule.Type USER
public static final Rule.Type GROUP
public static final Rule.Type APPLICATION
public static Rule.Type[] values()
for (Rule.Type c : Rule.Type.values()) System.out.println(c);
public static Rule.Type valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String toString()
toString in class java.lang.Enum<Rule.Type>public java.lang.String value()
public static Rule.Type fromValue(java.lang.String value)
Copyright © 2008–2025 Apache Software Foundation. All rights reserved.