public enum Scenario extends Enum<Scenario>
Enum Constant and Description |
---|
COMPENSATE_IMMEDIATE |
COMPENSATE_RETRY |
COMPLETE_IMMEDIATE |
COMPLETE_RETRY |
Modifier and Type | Method and Description |
---|---|
int |
getPathResponseCode() |
static Scenario |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scenario[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scenario COMPENSATE_IMMEDIATE
public static final Scenario COMPENSATE_RETRY
public static final Scenario COMPLETE_IMMEDIATE
public static final Scenario COMPLETE_RETRY
public static Scenario[] values()
for (Scenario c : Scenario.values()) System.out.println(c);
public static Scenario 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 int getPathResponseCode()
Copyright © 2018 – 2021 Eclipse Foundation. All rights reserved.
Use is subject to license terms.