public static enum MqttFailureHandler.Strategy extends Enum<MqttFailureHandler.Strategy>
Modifier and Type | Method and Description |
---|---|
static MqttFailureHandler.Strategy |
from(String s) |
static MqttFailureHandler.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MqttFailureHandler.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MqttFailureHandler.Strategy FAIL
public static final MqttFailureHandler.Strategy IGNORE
public static MqttFailureHandler.Strategy[] values()
for (MqttFailureHandler.Strategy c : MqttFailureHandler.Strategy.values()) System.out.println(c);
public static MqttFailureHandler.Strategy valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static MqttFailureHandler.Strategy from(String s)
Copyright © 2018–2021 SmallRye. All rights reserved.