public static enum CamelFailureHandler.Strategy extends Enum<CamelFailureHandler.Strategy>
Modifier and Type | Method and Description |
---|---|
static CamelFailureHandler.Strategy |
from(String s) |
static CamelFailureHandler.Strategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CamelFailureHandler.Strategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CamelFailureHandler.Strategy FAIL
public static final CamelFailureHandler.Strategy IGNORE
public static CamelFailureHandler.Strategy[] values()
for (CamelFailureHandler.Strategy c : CamelFailureHandler.Strategy.values()) System.out.println(c);
public static CamelFailureHandler.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 CamelFailureHandler.Strategy from(String s)
Copyright © 2018–2021 SmallRye. All rights reserved.