Condition class

Defines a condition under which a trigger fires.

Constructors

Condition({CrawlState? crawlState, String? crawlerName, String? jobName, LogicalOperator? logicalOperator, JobRunState? state})
Condition.fromJson(Map<String, dynamic> json)
factory

Properties

crawlerName String?
The name of the crawler to which this condition applies.
final
crawlState CrawlState?
The state of the crawler to which this condition applies.
final
hashCode int
The hash code for this object.
no setterinherited
jobName String?
The name of the job whose JobRuns this condition applies to, and on which this trigger waits.
final
logicalOperator LogicalOperator?
A logical operator.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
state JobRunState?
The condition state. Currently, the only job states that a trigger can listen for are SUCCEEDED, STOPPED, FAILED, and TIMEOUT. The only crawler states that a trigger can listen for are SUCCEEDED, FAILED, and CANCELLED.
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