EnterpriseCrmEventbusProtoFailurePolicy class

Policy that defines the task retry logic and failure type.

If no FailurePolicy is defined for a task, all its dependent tasks will not be executed (i.e, a retry_strategy of NONE will be applied).

Constructors

EnterpriseCrmEventbusProtoFailurePolicy({String? intervalInSeconds, int? maxNumRetries, String? retryCondition, String? retryStrategy})
EnterpriseCrmEventbusProtoFailurePolicy.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
intervalInSeconds String?
Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF.
getter/setter pair
maxNumRetries int?
Required if retry_strategy is FIXED_INTERVAL or LINEAR/EXPONENTIAL_BACKOFF/RESTART_WORKFLOW_WITH_BACKOFF.
getter/setter pair
retryCondition String?
The retry condition that will be evaluated for this failure policy with the corresponding retry strategy.
getter/setter pair
retryStrategy String?
Defines what happens to the task upon failure. Possible string values are:
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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