Package org.apache.qpid.jms.sasl
Enum Mechanism.PRIORITY
- java.lang.Object
-
- java.lang.Enum<Mechanism.PRIORITY>
-
- org.apache.qpid.jms.sasl.Mechanism.PRIORITY
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Mechanism.PRIORITY>
- Enclosing interface:
- Mechanism
public static enum Mechanism.PRIORITY extends java.lang.Enum<Mechanism.PRIORITY>
Relative priority values used to arrange the found SASL mechanisms in a preferred order where the level of security generally defines the preference.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description HIGHHIGHERHIGHER_STILLHIGHESTLOWLOWERLOWER_STILLLOWESTMEDIUM
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetValue()static Mechanism.PRIORITYvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Mechanism.PRIORITY[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOWEST
public static final Mechanism.PRIORITY LOWEST
-
LOWER_STILL
public static final Mechanism.PRIORITY LOWER_STILL
-
LOWER
public static final Mechanism.PRIORITY LOWER
-
LOW
public static final Mechanism.PRIORITY LOW
-
MEDIUM
public static final Mechanism.PRIORITY MEDIUM
-
HIGH
public static final Mechanism.PRIORITY HIGH
-
HIGHER
public static final Mechanism.PRIORITY HIGHER
-
HIGHER_STILL
public static final Mechanism.PRIORITY HIGHER_STILL
-
HIGHEST
public static final Mechanism.PRIORITY HIGHEST
-
-
Method Detail
-
values
public static Mechanism.PRIORITY[] 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 (Mechanism.PRIORITY c : Mechanism.PRIORITY.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mechanism.PRIORITY valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-
-