Class

org.scalarules.derivations

SubRunDerivation

Related Doc: package derivations

Permalink

case class SubRunDerivation(inputs: Input, output: Output, condition: Condition, subRunData: SubRunData[Any, _]) extends Derivation with Product with Serializable

Special case for a sub Derivation. Derivations of this type cause a nested run of the Engine to be performed and some of the results of that run will end up being the result of this Derivation.

Note: this type of Derivation is currently targeted at handling a Fact with a List as value type. The Derivations specified in this SubRunDerivation will be performed for each value inside that List.

inputs

all the input Facts on which this Derivation depends directly. Dependencies of the inner Derivations will be determined automatically and added to the the value of this parameter to form the complete set of Facts on which this Derivation depends.

output

the Fact under which the result should be stored.

condition

the Condition which determines whether this particular Derviation should be executed at all.

subRunData

describes how to setup the nested execution and how to extract the result from it.

Linear Supertypes
Serializable, Serializable, Product, Equals, Derivation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SubRunDerivation
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Derivation
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SubRunDerivation(inputs: Input, output: Output, condition: Condition, subRunData: SubRunData[Any, _])

    Permalink

    inputs

    all the input Facts on which this Derivation depends directly. Dependencies of the inner Derivations will be determined automatically and added to the the value of this parameter to form the complete set of Facts on which this Derivation depends.

    output

    the Fact under which the result should be stored.

    condition

    the Condition which determines whether this particular Derviation should be executed at all.

    subRunData

    describes how to setup the nested execution and how to extract the result from it.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val condition: Condition

    Permalink

    the Condition which determines whether this particular Derviation should be executed at all.

    the Condition which determines whether this particular Derviation should be executed at all.

    Definition Classes
    SubRunDerivationDerivation
  7. val conditionSourcePosition: SourcePosition

    Permalink
    Definition Classes
    Derivation
  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. val input: List[Fact[Any]]

    Permalink
    Definition Classes
    SubRunDerivationDerivation
  12. val inputs: Input

    Permalink

    all the input Facts on which this Derivation depends directly.

    all the input Facts on which this Derivation depends directly. Dependencies of the inner Derivations will be determined automatically and added to the the value of this parameter to form the complete set of Facts on which this Derivation depends.

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. val output: Output

    Permalink

    the Fact under which the result should be stored.

    the Fact under which the result should be stored.

    Definition Classes
    SubRunDerivationDerivation
  18. val sourcePosition: SourcePosition

    Permalink
    Definition Classes
    Derivation
  19. val subRunData: SubRunData[Any, _]

    Permalink

    describes how to setup the nested execution and how to extract the result from it.

  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Derivation

Inherited from AnyRef

Inherited from Any

Ungrouped