public class SchedInstance extends BaseEntity
| 构造器和说明 |
|---|
SchedInstance() |
| 限定符和类型 | 方法和说明 |
|---|---|
SchedInstance |
fillUniqueFlag() |
boolean |
isCompleted() |
boolean |
isPaused() |
boolean |
isRunning() |
boolean |
isRunRetry() |
boolean |
isTerminal() |
boolean |
isWorkflow() |
boolean |
isWorkflowLead() |
boolean |
isWorkflowNode() |
void |
markTerminated(RunState runState,
Date runEndTime) |
int |
obtainRetriedCount() |
long |
obtainRetryOriginalInstanceId() |
long |
obtainRnstanceId()
Obtain root instance id
|
static SchedInstance |
of(SchedInstance parent,
Long wnstanceId,
long instanceId,
long jobId,
RunType runType,
long triggerTime,
int retriedCount)
Creates sched instance
|
static SchedInstance |
of(SchedInstance parent,
long instanceId,
long jobId,
RunType runType,
long triggerTime,
int retriedCount) |
InstanceAttach |
parseAttach() |
getCreatedAt, getId, getUpdatedAt, setCreatedAt, setId, setUpdatedAttoJson, toStringpublic static SchedInstance of(SchedInstance parent, long instanceId, long jobId, RunType runType, long triggerTime, int retriedCount)
public static SchedInstance of(SchedInstance parent, Long wnstanceId, long instanceId, long jobId, RunType runType, long triggerTime, int retriedCount)
parent - the parent instancewnstanceId - the workflow instance idinstanceId - the instance idjobId - the job idrunType - the run typetriggerTime - the trigger timeretriedCount - the retried countpublic long obtainRnstanceId()
public long obtainRetryOriginalInstanceId()
public int obtainRetriedCount()
public boolean isWorkflow()
public boolean isWorkflowNode()
public boolean isWorkflowLead()
public boolean isRunning()
public boolean isPaused()
public boolean isCompleted()
public boolean isTerminal()
public boolean isRunRetry()
public InstanceAttach parseAttach()
public SchedInstance fillUniqueFlag()
Copyright © 2024. All rights reserved.