public static enum Queue.QueueLabelPolicy extends Enum<Queue.QueueLabelPolicy>
| Enum Constant and Description |
|---|
AND |
OR |
PREFER_APP |
PREFER_QUEUE |
| Modifier and Type | Method and Description |
|---|---|
String |
getLabelPolicyName() |
static Queue.QueueLabelPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Queue.QueueLabelPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Queue.QueueLabelPolicy PREFER_QUEUE
public static final Queue.QueueLabelPolicy PREFER_APP
public static final Queue.QueueLabelPolicy AND
public static final Queue.QueueLabelPolicy OR
public static Queue.QueueLabelPolicy[] values()
for (Queue.QueueLabelPolicy c : Queue.QueueLabelPolicy.values()) System.out.println(c);
public static Queue.QueueLabelPolicy 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 String getLabelPolicyName()
Copyright © 2014 Apache Software Foundation. All Rights Reserved.