Class for creating a compound rule.

Super class

stepfunctions::BaseRule -> CompoundRule

Methods

Public methods

Inherited methods

Method new()

initialize CompoundRule class

Usage

CompoundRule$new(operator, rules)

Arguments

operator

(str): Compounding operator to be applied.

rules

(list(BaseRule)): List of rules to compound together.


Method to_list()

Convert class to list ready to be translated for Amazon States Language https://states-language.net/spec.html.

Usage

CompoundRule$to_list()


Method format()

class formatting

Usage

CompoundRule$format()


Method clone()

The objects of this class are cloneable with this method.

Usage

CompoundRule$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.