public enum CheckType extends Enum<CheckType>
Enum Constant and Description |
---|
CONSUME |
CREATE_DURABLE_QUEUE |
CREATE_NON_DURABLE_QUEUE |
DELETE_DURABLE_QUEUE |
DELETE_NON_DURABLE_QUEUE |
MANAGE |
SEND |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
hasRole(Role role) |
static CheckType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CheckType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CheckType SEND
public static final CheckType CONSUME
public static final CheckType CREATE_DURABLE_QUEUE
public static final CheckType DELETE_DURABLE_QUEUE
public static final CheckType CREATE_NON_DURABLE_QUEUE
public static final CheckType DELETE_NON_DURABLE_QUEUE
public static final CheckType MANAGE
public static CheckType[] values()
for (CheckType c : CheckType.values()) System.out.println(c);
public static CheckType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic abstract boolean hasRole(Role role)
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.