IoTJobAbortCriteria class

Contains criteria that define when and how to cancel a job.

The deployment stops if the following conditions are true:

  1. The number of things that receive the deployment exceeds the minNumberOfExecutedThings.
  2. The percentage of failures with type failureType exceeds the thresholdPercentage.

Constructors

IoTJobAbortCriteria({required IoTJobAbortAction action, required IoTJobExecutionFailureType failureType, required int minNumberOfExecutedThings, required double thresholdPercentage})
IoTJobAbortCriteria.fromJson(Map<String, dynamic> json)
factory

Properties

action IoTJobAbortAction
The action to perform when the criteria are met.
final
failureType IoTJobExecutionFailureType
The type of job deployment failure that can cancel a job.
final
hashCode int
The hash code for this object.
no setterinherited
minNumberOfExecutedThings int
The minimum number of things that receive the configuration before the job can cancel.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
thresholdPercentage double
The minimum percentage of failureType failures that occur before the job can cancel.
final

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