Or

works.iterative.workflow.Guard.Or
final case class Or[R, S](left: Guard[R, S], right: Guard[R, S]) extends Guard[R, S]

Disjunction guard — at least one branch must pass.

Node-level: if both branches fail, their failures are wrapped in GuardFailure.Disjunction with exactly two elements (no flattening of inner Disjunction nodes).

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Guard[R, S]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def check(ctx: GuardContext[R, S]): Either[GuardFailure, Unit]

Inherited methods

infix def and(that: Guard[R, S]): Guard[R, S]

Attributes

Inherited from:
Guard
infix def or(that: Guard[R, S]): Guard[R, S]

Attributes

Inherited from:
Guard
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product