RuleApplicationType

class RuleApplicationType(value, names=None, *, module=None, qualname=None, type=None, start=1, boundary=None)

A Rule can either be applied to a random match, all matches in parallel or to a manually-selected match. Additionally, matches can be enumerated pre- and post-application.

Attributes

RANDOM

Apply to a random match.

ALL

Apply to all matches in parallel.

MANUAL_SELECT

Have the user manually select a match to apply to.

ENUMERATE_APPLICATIONS

Enumerate the matches post-application

ENUMERATE_MATCHES

Enumerate the matches pre-application

RANDOM = 1

Apply to a random match.

ALL = 2

Apply to all matches in parallel.

MANUAL_SELECT = 3

Have the user manually select a match to apply to.

ENUMERATE_APPLICATIONS = 7

Enumerate the matches post-application

ENUMERATE_MATCHES = 9

Enumerate the matches pre-application