WorkFlowProps
Properties for defining a WorkFlow.
See https://www.alibabacloud.com/help/ros/developer-reference/aliyun-schedulerx-workflow
Initializer
import com.aliyun.ros.cdk.schedulerx.WorkFlowProps;
WorkFlowProps.builder()
.groupId(java.lang.String)
.groupId(IResolvable)
.namespace(java.lang.String)
.namespace(IResolvable)
.timeType(java.lang.Number)
.timeType(IResolvable)
.workflowName(java.lang.String)
.workflowName(IResolvable)
// .description(java.lang.String)
// .description(IResolvable)
// .maxConcurrency(java.lang.Number)
// .maxConcurrency(IResolvable)
// .namespaceSource(java.lang.String)
// .namespaceSource(IResolvable)
// .timeExpression(java.lang.String)
// .timeExpression(IResolvable)
// .timezone(java.lang.String)
// .timezone(IResolvable)
.build();
Properties
| Name | Type | Description |
|---|---|---|
groupId | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property groupId: The application Group ID, which is obtained from the application management page of the console. |
namespace | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property namespace: The namespace ID, which is obtained from the namespace page in the console. |
timeType | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property timeType: Time type. |
workflowName | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property workflowName: Workflow Name. |
description | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property description: Workflow description. |
maxConcurrency | java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable | Property maxConcurrency: The maximum number of workflow instances running at the same time. |
namespaceSource | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property namespaceSource: Special third parties are required. |
timeExpression | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property timeExpression: Time expression, which is set based on the selected time type. |
timezone | java.lang.String OR com.aliyun.ros.cdk.core.IResolvable | Property timezone: Time Zone. |
groupIdRequired
public java.lang.Object getGroupId();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property groupId: The application Group ID, which is obtained from the application management page of the console.
namespaceRequired
public java.lang.Object getNamespace();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property namespace: The namespace ID, which is obtained from the namespace page in the console.
timeTypeRequired
public java.lang.Object getTimeType();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property timeType: Time type.
Currently, the following time types are supported:
- cron: 1
- api: 100.
workflowNameRequired
public java.lang.Object getWorkflowName();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property workflowName: Workflow Name.
descriptionOptional
public java.lang.Object getDescription();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property description: Workflow description.
maxConcurrencyOptional
public java.lang.Object getMaxConcurrency();
- Type: java.lang.Number OR com.aliyun.ros.cdk.core.IResolvable
Property maxConcurrency: The maximum number of workflow instances running at the same time.
The default value is 1, that is, the last trigger is not completed, and the next trigger will not be performed even when the running time is reached.
namespaceSourceOptional
public java.lang.Object getNamespaceSource();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property namespaceSource: Special third parties are required.
timeExpressionOptional
public java.lang.Object getTimeExpression();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property timeExpression: Time expression, which is set based on the selected time type.
- cron: Fill in standard cron expressions to support online verification.
- api: No time expression.
timezoneOptional
public java.lang.Object getTimezone();
- Type: java.lang.String OR com.aliyun.ros.cdk.core.IResolvable
Property timezone: Time Zone.