Package org.acemq.amqp.api
Enum TopologyPlan.Kind
- All Implemented Interfaces:
Serializable,Comparable<TopologyPlan.Kind>
- Enclosing class:
TopologyPlan
What a plan proposes to do about one item.
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TopologyPlan.KindReturns the enum constant of this type with the specified name.static TopologyPlan.Kind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CREATE
The item is missing and would be created. -
PRESENT
The item already exists and would be left alone. -
DRIFT
The item exists with settings the topology disagrees with.Not a change, because applying will not resolve it. AMQP forbids altering most queue arguments in place, so the declare fails and takes the channel with it. Someone has to decide between changing the topology to match the broker and migrating the queue.
-
UNKNOWN
The item exists and this transport cannot say whether it matches.Deliberately not
PRESENT: an unanswered question reported as agreement is how drift goes unnoticed until a deployment.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-