EnterpriseCrmFrontendsEventbusProtoTaskConfig class

The task configuration details.

This is not the implementation of Task. There might be multiple TaskConfigs for the same Task.

Constructors

EnterpriseCrmFrontendsEventbusProtoTaskConfig({List<EnterpriseCrmEventbusProtoTaskAlertConfig>? alertConfigs, EnterpriseCrmEventbusProtoConditionalFailurePolicies? conditionalFailurePolicies, String? createTime, String? creatorEmail, String? description, bool? disableStrictTypeValidation, String? errorCatcherId, String? externalTaskType, EnterpriseCrmEventbusProtoFailurePolicy? failurePolicy, int? incomingEdgeCount, String? jsonValidationOption, String? label, String? lastModifiedTime, List<EnterpriseCrmEventbusProtoNextTask>? nextTasks, String? nextTasksExecutionPolicy, Map<String, EnterpriseCrmFrontendsEventbusProtoParameterEntry>? parameters, EnterpriseCrmEventbusProtoCoordinate? position, String? precondition, String? preconditionLabel, EnterpriseCrmFrontendsEventbusProtoRollbackStrategy? rollbackStrategy, EnterpriseCrmEventbusProtoSuccessPolicy? successPolicy, EnterpriseCrmEventbusProtoFailurePolicy? synchronousCallFailurePolicy, EnterpriseCrmFrontendsEventbusProtoTaskEntity? taskEntity, String? taskExecutionStrategy, String? taskName, String? taskNumber, String? taskSpec, String? taskTemplateName, String? taskType})
EnterpriseCrmFrontendsEventbusProtoTaskConfig.fromJson(Map json_)

Properties

alertConfigs List<EnterpriseCrmEventbusProtoTaskAlertConfig>?
Alert configurations on error rate, warning rate, number of runs, durations, etc.
getter/setter pair
conditionalFailurePolicies EnterpriseCrmEventbusProtoConditionalFailurePolicies?
Determines the number of times the task will be retried on failure and with what retry strategy.
getter/setter pair
createTime String?
Auto-generated.
getter/setter pair
creatorEmail String?
The creator's email address.
getter/setter pair
description String?
User-provided description intended to give more business context about the task.
getter/setter pair
disableStrictTypeValidation bool?
If this config contains a TypedTask, allow validation to succeed if an input is read from the output of another TypedTask whose output type is declared as a superclass of the requested input type.
getter/setter pair
errorCatcherId String?
Optional Error catcher id of the error catch flow which will be executed when execution error happens in the task
getter/setter pair
externalTaskType String?
Possible string values are:
getter/setter pair
failurePolicy EnterpriseCrmEventbusProtoFailurePolicy?
Determines the number of times the task will be retried on failure and with what retry strategy.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
incomingEdgeCount int?
The number of edges leading into this TaskConfig.
getter/setter pair
jsonValidationOption String?
If set, overrides the option configured in the Task implementation class. Possible string values are:
getter/setter pair
label String?
User-provided label that is attached to this TaskConfig in the UI.
getter/setter pair
lastModifiedTime String?
Auto-generated.
getter/setter pair
nextTasks List<EnterpriseCrmEventbusProtoNextTask>?
The set of tasks that are next in line to be executed as per the execution graph defined for the parent event, specified by event_config_id.
getter/setter pair
nextTasksExecutionPolicy String?
The policy dictating the execution of the next set of tasks for the current task. Possible string values are:
getter/setter pair
parameters Map<String, EnterpriseCrmFrontendsEventbusProtoParameterEntry>?
The customized parameters the user can pass to this task.
getter/setter pair
position EnterpriseCrmEventbusProtoCoordinate?
Informs the front-end application where to draw this task config on the UI.
getter/setter pair
precondition String?
Standard filter expression evaluated before execution.
getter/setter pair
preconditionLabel String?
User-provided label that is attached to precondition in the UI.
getter/setter pair
rollbackStrategy EnterpriseCrmFrontendsEventbusProtoRollbackStrategy?
Contains information about what needs to be done upon failure (either a permanent error or after it has been retried too many times).
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
successPolicy EnterpriseCrmEventbusProtoSuccessPolicy?
Determines what action to take upon successful task completion.
getter/setter pair
synchronousCallFailurePolicy EnterpriseCrmEventbusProtoFailurePolicy?
Determines the number of times the task will be retried on failure and with what retry strategy.
getter/setter pair
taskEntity EnterpriseCrmFrontendsEventbusProtoTaskEntity?
Copy of the task entity that this task config is an instance of.
getter/setter pair
taskExecutionStrategy String?
The policy dictating the execution strategy of this task. Possible string values are:
getter/setter pair
taskName String?
The name for the task.
getter/setter pair
taskNumber String?
REQUIRED: the identifier of this task within its parent event config, specified by the client.
getter/setter pair
taskSpec String?
A string template that allows user to configure task parameters (with either literal default values or tokens which will be resolved at execution time) for the task.
getter/setter pair
taskTemplateName String?
Used to define task-template name if task is of type task-template
getter/setter pair
taskType String?
Defines the type of the task Possible string values are:
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited