public enum PauseRecover extends Enum<PauseRecover>
Enum Constant and Description |
---|
NO_RECOVER
The default processWorkflow pauseRecover
|
RECOVER_FROM_API_PAUSE
The processWorkflow will be marked RECOVER_FROM_API_PAUSE when pause action origin is API
The processWorkflow will be paused as soon as possible without waiting the end of the step.
|
RECOVER_FROM_SERVER_PAUSE
The processWorkflow will be marked RECOVER_FROM_SERVER_PAUSE when pause action origin is server stop
The scenario is the same like RECOVER_FROM_API_PAUSE
The only difference is that when the server restarts,
only processWorkflow marked RECOVER_FROM_SERVER_PAUSE will be started automatically
|
Modifier and Type | Method and Description |
---|---|
static PauseRecover |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PauseRecover[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PauseRecover NO_RECOVER
public static final PauseRecover RECOVER_FROM_API_PAUSE
public static final PauseRecover RECOVER_FROM_SERVER_PAUSE
public static PauseRecover[] values()
for (PauseRecover c : PauseRecover.values()) System.out.println(c);
public static PauseRecover 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 nullCopyright © 2018 Vitam. All rights reserved.