Class

com.coxautodata.waimak.dataflow

PostActionInterceptor

Related Doc: package dataflow

Permalink

case class PostActionInterceptor[T](toIntercept: DataFlowAction, postActions: Seq[PostAction[T]]) extends InterceptorAction with Logging with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, Logging, InterceptorAction, DataFlowAction, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PostActionInterceptor
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Logging
  7. InterceptorAction
  8. DataFlowAction
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new PostActionInterceptor(toIntercept: DataFlowAction, postActions: Seq[PostAction[T]])

    Permalink

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. def actionName: String

    Permalink

    For representing the action

    For representing the action

    Definition Classes
    DataFlowAction
  5. def addPostAction(newAction: PostAction[T]): PostActionInterceptor[T]

    Permalink
  6. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def description: String

    Permalink
    Definition Classes
    PostActionInterceptorDataFlowAction
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def flowState(inputs: DataFlowEntities): DataFlowActionState

    Permalink

    Calls the intercepted.flowState.

    Calls the intercepted.flowState.

    inputs

    - action will study the state of the inputs in order to generate self assessment

    returns

    - an instance of the DataFlowActionState

    Definition Classes
    InterceptorActionDataFlowAction
  12. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  13. val guid: String

    Permalink

    Generates its own guid, different from intercepted

    Generates its own guid, different from intercepted

    Definition Classes
    InterceptorActionDataFlowAction
  14. val inputLabels: List[String]

    Permalink

    Same values as the intercepted action.

    Same values as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  15. def instead(inputs: DataFlowEntities, flowContext: FlowContext): Try[ActionResult]

    Permalink

    This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else.

    This method calls the intercepted.performAction and if overridden can suppress the default behaviour of the flow and execute something else. It is useful for exploration and debugging work flows, when a user wants to temporarily change the behaviour without touching the main code.

    By default it calls intercepted.performAction.

    Definition Classes
    PostActionInterceptorInterceptorAction
  16. val intercepted: DataFlowAction

    Permalink
    Definition Classes
    InterceptorAction
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def isTraceEnabled(): Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  19. def logAndReturn[A](a: A, msg: String, level: Level): A

    Permalink

    Takes a value of type A and a msg to log, returning a and logging the message at the desired level

    Takes a value of type A and a msg to log, returning a and logging the message at the desired level

    returns

    a

    Definition Classes
    Logging
  20. def logAndReturn[A](a: A, message: (A) ⇒ String, level: Level): A

    Permalink

    Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter

    Takes a value of type A and a function message from A to String, logs the value of invoking message(a) at the level described by the level parameter

    returns

    a

    Definition Classes
    Logging
    Example:
    1. logAndReturn(1, (num: Int) => s"number: $num", Info)
      // In the log we would see a log corresponding to "number 1"
  21. def logDebug(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  22. def logDebug(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  23. def logError(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  24. def logError(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  25. def logInfo(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  26. def logInfo(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  27. def logLabel: String

    Permalink
    Definition Classes
    DataFlowAction
  28. def logName: String

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  29. def logTrace(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  30. def logTrace(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  31. def logWarning(msg: ⇒ String, throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  32. def logWarning(msg: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  33. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  36. val outputLabels: List[String]

    Permalink

    Same values as the intercepted action.

    Same values as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  37. final def performAction[C <: FlowContext](inputs: DataFlowEntities, flowContext: C): Try[ActionResult]

    Permalink

    Perform the action

    Perform the action

    inputs

    the DataFlowEntities corresponding to the inputLabels

    flowContext

    context of the flow in which this action runs

    returns

    the action outputs (these must be declared in the same order as their labels in outputLabels)

    Definition Classes
    InterceptorActionDataFlowAction
  38. val postActions: Seq[PostAction[T]]

    Permalink
  39. def requiresAllInputs: Boolean

    Permalink

    returns

    same value as the intercepted action.

    Definition Classes
    InterceptorActionDataFlowAction
  40. final def schedulingGuid: String

    Permalink

    Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid.

    Interceptors must not override this property, as certain behaviours of the data flow (Ex, execution pools) will be associated with this scheduling guid. Also ActionScheduler will use this guid to track scheduled actions.

    Definition Classes
    InterceptorActionDataFlowAction
  41. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  42. val toIntercept: DataFlowAction

    Permalink
  43. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  45. 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 Logging

Inherited from InterceptorAction

Inherited from DataFlowAction

Inherited from AnyRef

Inherited from Any

Ungrouped