public class CreateWorkflowRequestBody extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
CreateWorkflowRequestBody.ModeEnum
工作流模式,当前支持两种模式 NORMAL: 标准模式,普通模式面向普通的业务场景,支持长时间任务,支持执行历史持久化和查询,只支持异步调用 EXPRESS: 快速模式,快速模式面向业务执行时长较短,需要极致性能的场景,只支持流程执行时长低于5分钟的场景,不支持执行历史持久化,支持同步和异步调用 默认为标准模式
|
| Constructor and Description |
|---|
CreateWorkflowRequestBody() |
public CreateWorkflowRequestBody withName(String name)
public String getName()
public void setName(String name)
public CreateWorkflowRequestBody withDescription(String description)
public String getDescription()
public void setDescription(String description)
public CreateWorkflowRequestBody withTriggers(List<Trigger> triggers)
public CreateWorkflowRequestBody addTriggersItem(Trigger triggersItem)
public CreateWorkflowRequestBody withTriggers(java.util.function.Consumer<List<Trigger>> triggersSetter)
public CreateWorkflowRequestBody withStart(String start)
public String getStart()
public void setStart(String start)
public CreateWorkflowRequestBody withFunctions(List<Function> functions)
public CreateWorkflowRequestBody addFunctionsItem(Function functionsItem)
public CreateWorkflowRequestBody withFunctions(java.util.function.Consumer<List<Function>> functionsSetter)
public CreateWorkflowRequestBody withStates(List<OperationState> states)
public CreateWorkflowRequestBody addStatesItem(OperationState statesItem)
public CreateWorkflowRequestBody withStates(java.util.function.Consumer<List<OperationState>> statesSetter)
public List<OperationState> getStates()
public void setStates(List<OperationState> states)
public CreateWorkflowRequestBody withConstants(Object constants)
public Object getConstants()
public void setConstants(Object constants)
public CreateWorkflowRequestBody withRetries(List<Retry> retries)
public CreateWorkflowRequestBody addRetriesItem(Retry retriesItem)
public CreateWorkflowRequestBody withRetries(java.util.function.Consumer<List<Retry>> retriesSetter)
public CreateWorkflowRequestBody withMode(CreateWorkflowRequestBody.ModeEnum mode)
public CreateWorkflowRequestBody.ModeEnum getMode()
public void setMode(CreateWorkflowRequestBody.ModeEnum mode)
public CreateWorkflowRequestBody withExpressConfig(ExpressConfig expressConfig)
public CreateWorkflowRequestBody withExpressConfig(java.util.function.Consumer<ExpressConfig> expressConfigSetter)
public ExpressConfig getExpressConfig()
public void setExpressConfig(ExpressConfig expressConfig)
public CreateWorkflowRequestBody withEnterpriseProjectId(String enterpriseProjectId)
public String getEnterpriseProjectId()
public void setEnterpriseProjectId(String enterpriseProjectId)
Copyright © 2022. All rights reserved.