public abstract class WorkflowExecution
extends java.lang.Object
| Constructor and Description |
|---|
WorkflowExecution()
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMessage() |
java.lang.String |
getErrorType() |
long |
getLastUpdated() |
abstract java.lang.String |
getName() |
Status |
getStatus() |
java.util.Set<JobConfig> |
next()
Given the previous set of jobs were completed successfully,
returns a list of jobs to execute next.
|
protected abstract java.util.Set<JobConfig> |
nextJobs()
Given the previous set of jobs were completed successfully,
returns a list of jobs to execute next.
|
void |
stop(Status status,
java.lang.String errorType,
java.lang.String errorMessage)
stops future execution.
|
public abstract java.lang.String getName()
public final java.util.Set<JobConfig> next()
JobConfig to execute next, empty when there is no more workpublic final void stop(Status status, java.lang.String errorType, java.lang.String errorMessage)
status - status of the failure: either CANCELLED or FAILEDerrorType - error typeerrorMessage - error messagepublic final Status getStatus()
public final long getLastUpdated()
@Nullable public final java.lang.String getErrorType()
@Nullable public final java.lang.String getErrorMessage()
Copyright © 2022. All Rights Reserved.