public enum BrokerShutdownStatus extends java.lang.Enum<BrokerShutdownStatus>
ERROR
- when there was an exception before or during the broker shutdown task - ultimately, the task has not succeeded.
2. PENDING
- when the broker is yet to be shut down.
3. CANCELED
- when the shutdown operation is canceled due to external influence
4. COMPLETED
- when the broker has successfully been shut down.Modifier and Type | Method and Description |
---|---|
BrokerRemovalDescription.BrokerShutdownStatus |
toOldStatus()
Get the deprecated #
BrokerRemovalDescription.BrokerShutdownStatus equivalent of this #BrokerShutdownStatus |
static BrokerShutdownStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BrokerShutdownStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BrokerShutdownStatus ERROR
public static final BrokerShutdownStatus PENDING
public static final BrokerShutdownStatus CANCELED
public static final BrokerShutdownStatus COMPLETED
public static BrokerShutdownStatus[] values()
for (BrokerShutdownStatus c : BrokerShutdownStatus.values()) System.out.println(c);
public static BrokerShutdownStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic BrokerRemovalDescription.BrokerShutdownStatus toOldStatus()
BrokerRemovalDescription.BrokerShutdownStatus
equivalent of this #BrokerShutdownStatus