public enum IntResource extends java.lang.Enum<IntResource>
Enum Constant and Description |
---|
ALL |
APPLICATION |
GROUP_SCOPE |
JOBROLE |
NONE |
NOT_SUPPORTED |
ORGUNIT |
OU_RES_HIER |
RESOURCE |
RESOURCE_FAMILY |
RESOURCE_TYPE |
RISK |
TASK |
Modifier and Type | Method and Description |
---|---|
static IntResource |
get(long code) |
static IntResource |
get(java.lang.String family) |
long |
getCode() |
java.lang.String |
getFamily() |
static IntResource |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IntResource[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IntResource ALL
public static final IntResource NONE
public static final IntResource NOT_SUPPORTED
public static final IntResource OU_RES_HIER
public static final IntResource RESOURCE
public static final IntResource ORGUNIT
public static final IntResource JOBROLE
public static final IntResource APPLICATION
public static final IntResource RESOURCE_TYPE
public static final IntResource RESOURCE_FAMILY
public static final IntResource GROUP_SCOPE
public static final IntResource TASK
public static final IntResource RISK
public static IntResource[] values()
for (IntResource c : IntResource.values()) System.out.println(c);
public static IntResource 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 long getCode()
public java.lang.String getFamily()
public static IntResource get(java.lang.String family)
public static IntResource get(long code)