Enum TargetResult.Status
- java.lang.Object
-
- java.lang.Enum<TargetResult.Status>
-
- org.apache.activemq.artemis.core.server.routing.targets.TargetResult.Status
-
- All Implemented Interfaces:
Serializable,Comparable<TargetResult.Status>
- Enclosing class:
- TargetResult
public static enum TargetResult.Status extends Enum<TargetResult.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description OKREFUSED_UNAVAILABLEREFUSED_USE_ANOTHER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TargetResult.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static TargetResult.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final TargetResult.Status OK
-
REFUSED_UNAVAILABLE
public static final TargetResult.Status REFUSED_UNAVAILABLE
-
REFUSED_USE_ANOTHER
public static final TargetResult.Status REFUSED_USE_ANOTHER
-
-
Method Detail
-
values
public static TargetResult.Status[] 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 (TargetResult.Status c : TargetResult.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TargetResult.Status valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-