public class TaskInstanceDetail extends AbstractModel
header, skipSign| Constructor and Description |
|---|
TaskInstanceDetail() |
TaskInstanceDetail(TaskInstanceDetail source)
NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
|
| Modifier and Type | Method and Description |
|---|---|
Long |
getCostTime()
Get Time spent, in milliseconds.
|
String |
getCurRunDate()
Get Specifies the instance data time.
|
String |
getCycleType()
Get Task Cycle Type
ONEOFF_CYCLE: One-time
YEAR_CYCLE: Yearly
MONTH_CYCLE: Monthly
WEEK_CYCLE: Weekly
DAY_CYCLE: Daily
HOUR_CYCLE: Hourly
MINUTE_CYCLE: Minute-level
CRONTAB_CYCLE: Crontab expression-based
|
String |
getEndTime()
Get Operation completion time.
|
String |
getExecutorGroupId()
Get Execution resource group ID.
|
String |
getExecutorGroupName()
Get Resource group name.
|
String |
getFolderId()
Get Folder ID.
|
String |
getFolderName()
Get Specifies the folder name.
|
String |
getInstanceKey()
Get **Instance unique id**.
|
String |
getInstanceState()
Get Instance status.
|
Long |
getInstanceType()
Get Specifies the instance type.
|
String |
getJobErrorMsg()
Get Brief task failure information.
|
String |
getLastUpdateTime()
Get Latest update time of the instance.
|
String[] |
getOwnerUinList()
Get owner uin list.
|
String |
getProjectId()
Get Specifies the project id.
|
String |
getSchedulerTime()
Get Scheduled dispatch time.
|
String |
getStartTime()
Get Start time.
|
String |
getTaskId()
Get Task ID
|
String |
getTaskName()
Get Task name.
|
String |
getTaskType()
Get Task type
|
Long |
getTaskTypeId()
Get Specifies the id corresponding to taskType.
|
Long |
getTotalRunNum()
Get Cumulative running times.
|
Long |
getTries()
Get **Failure Retry Count** - The number of retry attempts after a failure.
|
Long |
getTryLimit()
Get Retry count limit when execution fails each time.
|
String |
getWorkflowId()
Get Workflow ID.
|
String |
getWorkflowName()
Get Workflow name.
|
void |
setCostTime(Long CostTime)
Set Time spent, in milliseconds.
|
void |
setCurRunDate(String CurRunDate)
Set Specifies the instance data time.
|
void |
setCycleType(String CycleType)
Set Task Cycle Type
ONEOFF_CYCLE: One-time
YEAR_CYCLE: Yearly
MONTH_CYCLE: Monthly
WEEK_CYCLE: Weekly
DAY_CYCLE: Daily
HOUR_CYCLE: Hourly
MINUTE_CYCLE: Minute-level
CRONTAB_CYCLE: Crontab expression-based
|
void |
setEndTime(String EndTime)
Set Operation completion time.
|
void |
setExecutorGroupId(String ExecutorGroupId)
Set Execution resource group ID.
|
void |
setExecutorGroupName(String ExecutorGroupName)
Set Resource group name.
|
void |
setFolderId(String FolderId)
Set Folder ID.
|
void |
setFolderName(String FolderName)
Set Specifies the folder name.
|
void |
setInstanceKey(String InstanceKey)
Set **Instance unique id**.
|
void |
setInstanceState(String InstanceState)
Set Instance status.
|
void |
setInstanceType(Long InstanceType)
Set Specifies the instance type.
|
void |
setJobErrorMsg(String JobErrorMsg)
Set Brief task failure information.
|
void |
setLastUpdateTime(String LastUpdateTime)
Set Latest update time of the instance.
|
void |
setOwnerUinList(String[] OwnerUinList)
Set owner uin list.
|
void |
setProjectId(String ProjectId)
Set Specifies the project id.
|
void |
setSchedulerTime(String SchedulerTime)
Set Scheduled dispatch time.
|
void |
setStartTime(String StartTime)
Set Start time.
|
void |
setTaskId(String TaskId)
Set Task ID
|
void |
setTaskName(String TaskName)
Set Task name.
|
void |
setTaskType(String TaskType)
Set Task type
|
void |
setTaskTypeId(Long TaskTypeId)
Set Specifies the id corresponding to taskType.
|
void |
setTotalRunNum(Long TotalRunNum)
Set Cumulative running times.
|
void |
setTries(Long Tries)
Set **Failure Retry Count** - The number of retry attempts after a failure.
|
void |
setTryLimit(Long TryLimit)
Set Retry count limit when execution fails each time.
|
void |
setWorkflowId(String WorkflowId)
Set Workflow ID.
|
void |
setWorkflowName(String WorkflowName)
Set Workflow name.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic TaskInstanceDetail()
public TaskInstanceDetail(TaskInstanceDetail source)
public String getProjectId()
public void setProjectId(String ProjectId)
ProjectId - Specifies the project id.public String getInstanceKey()
public void setInstanceKey(String InstanceKey)
InstanceKey - **Instance unique id**.public String getFolderId()
public void setFolderId(String FolderId)
FolderId - Folder ID.public String getFolderName()
public void setFolderName(String FolderName)
FolderName - Specifies the folder name.public String getWorkflowId()
public void setWorkflowId(String WorkflowId)
WorkflowId - Workflow ID.public String getWorkflowName()
public void setWorkflowName(String WorkflowName)
WorkflowName - Workflow name.public String getTaskId()
public void setTaskId(String TaskId)
TaskId - Task IDpublic String getTaskName()
public void setTaskName(String TaskName)
TaskName - Task name.public Long getTaskTypeId()
public void setTaskTypeId(Long TaskTypeId)
TaskTypeId - Specifies the id corresponding to taskType.public String getTaskType()
public void setTaskType(String TaskType)
TaskType - Task typepublic String getCycleType()
public void setCycleType(String CycleType)
CycleType - Task Cycle Type
ONEOFF_CYCLE: One-time
YEAR_CYCLE: Yearly
MONTH_CYCLE: Monthly
WEEK_CYCLE: Weekly
DAY_CYCLE: Daily
HOUR_CYCLE: Hourly
MINUTE_CYCLE: Minute-level
CRONTAB_CYCLE: Crontab expression-basedpublic String getCurRunDate()
public void setCurRunDate(String CurRunDate)
CurRunDate - Specifies the instance data time.public String getInstanceState()
public void setInstanceState(String InstanceState)
InstanceState - Instance status.
-WAIT_EVENT: wait for event.
-WAIT_UPSTREAM: waiting for upstream.
- WAIT_RUN: awaiting execution.
-RUNNING. specifies the running status.
- SKIP_RUNNING: specifies whether to SKIP RUNNING.
- FAILED_RETRY: RETRY on failure.
-EXPIRED: indicates a failure.
-COMPLETED: success.public Long getInstanceType()
public void setInstanceType(Long InstanceType)
InstanceType - Specifies the instance type.
-0 indicates the replenishment type.
-Indicates a periodic instance.
-2 indicates a non-periodic instance.public String[] getOwnerUinList()
public void setOwnerUinList(String[] OwnerUinList)
OwnerUinList - owner uin list.public Long getTotalRunNum()
public void setTotalRunNum(Long TotalRunNum)
TotalRunNum - Cumulative running times.public Long getTryLimit()
public void setTryLimit(Long TryLimit)
TryLimit - Retry count limit when execution fails each time.public Long getTries()
public void setTries(Long Tries)
Tries - **Failure Retry Count** - The number of retry attempts after a failure. When the instance is triggered again through methods such as manual rerun or backfill, this counter is reset to 0 and starts counting again.public Long getCostTime()
public void setCostTime(Long CostTime)
CostTime - Time spent, in milliseconds.public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start time.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - Operation completion time.public String getSchedulerTime()
public void setSchedulerTime(String SchedulerTime)
SchedulerTime - Scheduled dispatch time.public String getLastUpdateTime()
public void setLastUpdateTime(String LastUpdateTime)
LastUpdateTime - Latest update time of the instance. format: yyyy-MM-dd HH:MM:ss.public String getExecutorGroupId()
public void setExecutorGroupId(String ExecutorGroupId)
ExecutorGroupId - Execution resource group ID.public String getExecutorGroupName()
public void setExecutorGroupName(String ExecutorGroupName)
ExecutorGroupName - Resource group name.public String getJobErrorMsg()
public void setJobErrorMsg(String JobErrorMsg)
JobErrorMsg - Brief task failure information.Copyright © 2025. All rights reserved.