PackageManager enum
Type of package manager that can be used to install this package. If a system does not have the package manager, the package is not installed or removed no error message is returned. By default, or if you specify ANY, the agent attempts to install and remove this package using the default package manager. This is useful when creating a policy that applies to different types of systems. The default behavior is ANY.
Values
- managerUnspecified → const PackageManager
-
const PackageManager("MANAGER_UNSPECIFIED") - any → const PackageManager
-
const PackageManager("ANY") - apt → const PackageManager
-
const PackageManager("APT") - yum → const PackageManager
-
const PackageManager("YUM") - zypper → const PackageManager
-
const PackageManager("ZYPPER") - goo → const PackageManager
-
const PackageManager("GOO")
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- wireValue → String
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromValue(
String value) → PackageManager
Constants
-
values
→ const List<
PackageManager> - A constant List of the values in this enum, in order of their declaration.