java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.ChainedOperationResult<T> |
Generic object representing the result of a unit of work (an operation) that is part of a chain of operations.
Nested Classes | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
enum | ChainedOperationResult.ContinuationStatus | Status code to indicate if the result is meaningful and if the next operation should be performed. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
public static final ChainedOperationResult<Boolean> | FALSE_CONTINUE | ||||||||||
public static final ChainedOperationResult<Boolean> | FALSE_IGNORE | ||||||||||
public static final ChainedOperationResult<Boolean> | FALSE_STOP | ||||||||||
public static final ChainedOperationResult<Boolean> | TRUE_CONTINUE | ||||||||||
public static final ChainedOperationResult<Boolean> | TRUE_STOP | common results | |||||||||
public static final ChainedOperationResult<Long> | ZEROL_CONTINUE |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ChainedOperationResult(T result)
Default constructor for a meaningful result, i.e.
| |||||||||||
ChainedOperationResult(T result, ChainedOperationResult.ContinuationStatus continuationStatus)
Constructor for a result with the provided continuation status.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static <T> ChainedOperationResult<T> | continue_() | ||||||||||
boolean | equals(Object obj) | ||||||||||
ChainedOperationResult.ContinuationStatus | getContinuationStatus() | ||||||||||
T | getResult() | ||||||||||
int | hashCode() | ||||||||||
static <T> ChainedOperationResult<T> | ignore() | ||||||||||
static <T> ChainedOperationResult<T> | stop() | ||||||||||
static ChainedOperationResult<Boolean> | stop(boolean result) | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Default constructor for a meaningful result, i.e. do not perform more operations.
Constructor for a result with the provided continuation status.