CleanupPolicyCondition class

CleanupPolicyCondition is a set of conditions attached to a CleanupPolicy.

If multiple entries are set, all must be satisfied for the condition to be satisfied.

Constructors

CleanupPolicyCondition({String? newerThan, String? olderThan, List<String>? packageNamePrefixes, List<String>? tagPrefixes, String? tagState, List<String>? versionNamePrefixes})
CleanupPolicyCondition.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
newerThan String?
Match versions newer than a duration.
getter/setter pair
olderThan String?
Match versions older than a duration.
getter/setter pair
packageNamePrefixes List<String>?
Match versions by package prefix.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
tagPrefixes List<String>?
Match versions by tag prefix.
getter/setter pair
tagState String?
Match versions by tag status. Possible string values are:
getter/setter pair
versionNamePrefixes List<String>?
Match versions by version name prefix.
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