PolicyAttributesOverageStrategyEnum class
The strategy used for allowing machine, core and process overages. Set to NO_OVERAGE
to disable overages altogether (attempts to exceed a limit will then result in an error). ### Options - ALWAYS_ALLOW_OVERAGE
: The license may exceed its limits, and doing so will not effect the licenses validity, i.e. the following validation codes will return valid=true
: TOO_MANY_MACHINES
, TOO_MANY_CORES
, TOO_MANY_PROCESSES
. - ALLOW_1_25X_OVERAGE
: The license may exceed its limits, up to a maximum of 1.25x. Exceeding a limit will not effect the license's validity right away, i.e. the following validation codes will return valid=true
: TOO_MANY_MACHINES
, TOO_MANY_CORES
, TOO_MANY_PROCESSES
. The license will begin to fail validation once the 1.25x allowance has been exceeded. When using a 1.25x allowance, all resource limits must be divisible by 4. - ALLOW_1_5X_OVERAGE
: The license may exceed its limits, up to a maximum of 1.5x. Exceeding a limit will not effect the license's validity right away, i.e. the following validation codes will return valid=true
: TOO_MANY_MACHINES
, TOO_MANY_CORES
, TOO_MANY_PROCESSES
. The license will begin to fail validation once the 1.5x allowance has been exceeded. When using a 1.5x allowance, all resource limits must be divisible by 2. - ALLOW_2X_OVERAGE
: The license may exceed its limits, up to a maximum of 2x. Exceeding a limit will not effect the license's validity right away, i.e. the following validation codes will return valid=true
: TOO_MANY_MACHINES
, TOO_MANY_CORES
, TOO_MANY_PROCESSES
. The license will begin to fail validation once the 2x allowance has been exceeded. - NO_OVERAGE
: Do not allow overages. Attempts to exceed limits will fail. This is the default.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → String -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromJson(
dynamic value) → PolicyAttributesOverageStrategyEnum? -
listFromJson(
dynamic json, {bool growable = false}) → List< PolicyAttributesOverageStrategyEnum>
Constants
- aLLOW2XOVERAGE → const PolicyAttributesOverageStrategyEnum
- aLLOW15XOVERAGE → const PolicyAttributesOverageStrategyEnum
- aLLOW125XOVERAGE → const PolicyAttributesOverageStrategyEnum
- ALWAYS_ALLOW_OVERAGE → const PolicyAttributesOverageStrategyEnum
- NO_OVERAGE → const PolicyAttributesOverageStrategyEnum
-
values
→ const List<
PolicyAttributesOverageStrategyEnum> - List of all possible values in this PolicyAttributesOverageStrategyEnum.