public enum TriggerSavepointMode extends Enum<TriggerSavepointMode>
Enum Constant and Description |
---|
CANCEL_WITH_SAVEPOINT |
SAVEPOINT |
SUSPEND_WITH_SAVEPOINT |
TERMINATE_WITH_SAVEPOINT |
Modifier and Type | Method and Description |
---|---|
boolean |
isTerminalMode()
Whether the operation will result in a globally terminal job status.
|
static TriggerSavepointMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TriggerSavepointMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TriggerSavepointMode SAVEPOINT
public static final TriggerSavepointMode CANCEL_WITH_SAVEPOINT
public static final TriggerSavepointMode SUSPEND_WITH_SAVEPOINT
public static final TriggerSavepointMode TERMINATE_WITH_SAVEPOINT
public static TriggerSavepointMode[] values()
for (TriggerSavepointMode c : TriggerSavepointMode.values()) System.out.println(c);
public static TriggerSavepointMode 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 boolean isTerminalMode()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.