private static enum BatchProcess.CAUSE_FOR_TERMINATION extends java.lang.Enum<BatchProcess.CAUSE_FOR_TERMINATION>
| Enum Constant and Description |
|---|
BATCH_PROCESS_ALIVE_TOO_LONG |
COMPLETED_NORMALLY |
CONSUMERS_MANAGER_DIDNT_INIT_IN_TIME_NO_RESTART |
CRAWLER_TIMED_OUT |
MAIN_LOOP_EXCEPTION |
MAIN_LOOP_EXCEPTION_NO_RESTART |
TIMED_OUT_CONSUMER |
USER_INTERRUPTION |
| Modifier and Type | Method and Description |
|---|---|
static BatchProcess.CAUSE_FOR_TERMINATION |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BatchProcess.CAUSE_FOR_TERMINATION[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchProcess.CAUSE_FOR_TERMINATION COMPLETED_NORMALLY
public static final BatchProcess.CAUSE_FOR_TERMINATION MAIN_LOOP_EXCEPTION_NO_RESTART
public static final BatchProcess.CAUSE_FOR_TERMINATION CONSUMERS_MANAGER_DIDNT_INIT_IN_TIME_NO_RESTART
public static final BatchProcess.CAUSE_FOR_TERMINATION MAIN_LOOP_EXCEPTION
public static final BatchProcess.CAUSE_FOR_TERMINATION CRAWLER_TIMED_OUT
public static final BatchProcess.CAUSE_FOR_TERMINATION TIMED_OUT_CONSUMER
public static final BatchProcess.CAUSE_FOR_TERMINATION USER_INTERRUPTION
public static final BatchProcess.CAUSE_FOR_TERMINATION BATCH_PROCESS_ALIVE_TOO_LONG
public static BatchProcess.CAUSE_FOR_TERMINATION[] values()
for (BatchProcess.CAUSE_FOR_TERMINATION c : BatchProcess.CAUSE_FOR_TERMINATION.values()) System.out.println(c);
public static BatchProcess.CAUSE_FOR_TERMINATION valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null