public class SchedTask extends BaseEntity
| 构造器和说明 |
|---|
SchedTask() |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
isExecuting() |
boolean |
isFailure() |
boolean |
isTerminal() |
boolean |
isWaiting() |
static SchedTask |
of(String taskParam,
long taskId,
long instanceId,
int taskNo,
int taskCount,
String worker)
Creates sched tasks
|
getCreatedAt, getId, getUpdatedAt, setCreatedAt, setId, setUpdatedAttoJson, toStringpublic static SchedTask of(String taskParam, long taskId, long instanceId, int taskNo, int taskCount, String worker)
taskParam - the task paramtaskId - the task idinstanceId - the instance idtaskNo - the task notaskCount - the task countworker - the workerpublic boolean isWaiting()
public boolean isExecuting()
public boolean isTerminal()
public boolean isFailure()
Copyright © 2024. All rights reserved.