ProjectReadiness class final

A declared readiness probe for a serve operation.

Constructors

ProjectReadiness.filePresent(String? path)
A file exists at path.
const
ProjectReadiness.logLine(Pattern? pattern)
The process printed a line matching pattern.
const
ProjectReadiness.tcp({required String? host, required int? port})
The declared endpoint accepts a TCP connection.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
host → String?
The host of a ProjectReadinessKind.tcp probe.
final
kind → ProjectReadinessKind
How this probe is evaluated.
final
path → String?
The path of a ProjectReadinessKind.filePresent probe.
final
pattern → Pattern?
The pattern of a ProjectReadinessKind.logLine probe.
final
port → int?
The port of a ProjectReadinessKind.tcp probe.
final
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, Object?>
The evidence projection of this probe.
toString() → String
A string representation of this object.
inherited

Operators

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