public interface WorkflowInstanceService
| Modifier and Type | Method and Description |
|---|---|
void |
assertIsExecuting(long refNum) |
WorkflowInstance |
create(String workflowName,
Integer workflowVersion,
Map<String,Object> arguments,
String label1,
String label2) |
WorkflowInstance |
find(long refNum) |
void |
handleAbortingError(long refNum,
Exception exception) |
void |
handleCompleteError(long prexRefNum,
Long actionRefNum,
Exception exception) |
void |
handleStartingError(long refNum,
Exception exception) |
void |
lock(List<Long> refNum) |
void |
markAbort(long refNum) |
void |
markAborted(long refNum) |
void |
markAborting(long refNum) |
void |
markExecuted(long refNum) |
void |
markExecuting(long refNum) |
void |
markStarting(long refNum) |
void |
recoverAbort(String nodeName) |
void |
recoverAborting(String nodeName) |
void |
recoverExecuting(String nodeName) |
void |
recoverNew(String nodeName) |
void |
recoverNotAssigned(String clusterName) |
void |
recoverStarting(String nodeName) |
void |
resume(long refNum) |
void |
rewindAfterError(long refNum) |
void |
suspend(long refNum) |
void |
unlock(long refNum) |
void |
updateHistory(Long refNum,
String history) |
void |
updateNodeName(long refNum,
String nodeName) |
void |
updateState(long refNum,
String state) |
WorkflowInstance create(String workflowName, Integer workflowVersion, Map<String,Object> arguments, String label1, String label2)
WorkflowInstance find(long refNum)
void markStarting(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid markExecuting(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid markExecuted(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid markAbort(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid markAborting(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid markAborted(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid assertIsExecuting(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid rewindAfterError(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid suspend(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid resume(long refNum)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid handleStartingError(long refNum,
Exception exception)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid handleAbortingError(long refNum,
Exception exception)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid handleCompleteError(long prexRefNum,
Long actionRefNum,
Exception exception)
throws UnexpectedStatusException
UnexpectedStatusExceptionvoid unlock(long refNum)
void updateNodeName(long refNum,
String nodeName)
void updateState(long refNum,
String state)
void recoverNotAssigned(String clusterName)
void recoverNew(String nodeName)
void recoverStarting(String nodeName)
void recoverExecuting(String nodeName)
void recoverAbort(String nodeName)
void recoverAborting(String nodeName)
Copyright © 2018. All rights reserved.