RuleResultsInterpreterVerdict

sealed trait RuleResultsInterpreterVerdict[T] extends Serializable

ADT to define the possible responses of the engine evaluation.

Companion:
object
trait Serializable
class Object
trait Matchable
class Any
class Allowed[T]
class Denied[T]

Value members

Abstract fields

val evaluatedRules: NonEmptyList[Free[T]]

Result reasons

Result reasons

Concrete fields

val isAllowed: Boolean

Check if this is an instance of Allowed or not

Check if this is an instance of Allowed or not

val isDenied: Boolean

Check if this is an instance of Denied or not

Check if this is an instance of Denied or not

val typeName: String

Returns a string Allowed if this is an instance of Allowed otherwise Denied

Returns a string Allowed if this is an instance of Allowed otherwise Denied