Enum LifecycleStage
- java.lang.Object
-
- java.lang.Enum<LifecycleStage>
-
- com.hivemq.extension.sdk.api.services.admin.LifecycleStage
-
- All Implemented Interfaces:
Serializable
,Comparable<LifecycleStage>
public enum LifecycleStage extends Enum<LifecycleStage>
- Since:
- 4.2.0, CE 2020.1
-
-
Enum Constant Summary
Enum Constants Enum Constant Description STARTED_SUCCESSFULLY
The HiveMQ startup process is complete.STARTING
HiveMQ is currently in the startup process.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LifecycleStage
valueOf(String name)
Returns the enum constant of this type with the specified name.static LifecycleStage[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTING
public static final LifecycleStage STARTING
HiveMQ is currently in the startup process. Listeners and clustering may not be available yet.- Since:
- 4.2.0, CE 2020.1
-
STARTED_SUCCESSFULLY
public static final LifecycleStage STARTED_SUCCESSFULLY
The HiveMQ startup process is complete. In this stage clients can connect to HiveMQ and the HiveMQ instance has joined the cluster if there is a cluster.- Since:
- 4.2.0, CE 2020.1
-
-
Method Detail
-
values
public static LifecycleStage[] 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 (LifecycleStage c : LifecycleStage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LifecycleStage 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
-
-