Class/Object

dagr.core.tasksystem

EitherTask

Related Docs: object EitherTask | package tasksystem

Permalink

class EitherTask extends Task

A task that returns either the left or right task based on a deferred choice. The choice function is not evaluated until all dependencies have been met and the EitherTask needs to make a decision about which task to return from

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EitherTask
  2. Task
  3. Dependable
  4. AnyRef
  5. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. def !=>(other: Dependable): Unit

    Permalink

    Removes this as a dependency for other

    Removes this as a dependency for other

    Definition Classes
    TaskDependable
  3. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  4. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to any2stringadd[EitherTask] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (EitherTask, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to ArrowAssoc[EitherTask] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. def ::(other: Option[Dependable]): Dependable

    Permalink

    Returns an object that can be used to manage dependencies that apply to this and the other Dependable.

    Returns an object that can be used to manage dependencies that apply to this and the other Dependable.

    Definition Classes
    Dependable
  7. def ::(other: Dependable): Dependable

    Permalink

    Returns an object that can be used to manage dependencies that apply to this and the other Dependable.

    Returns an object that can be used to manage dependencies that apply to this and the other Dependable.

    Definition Classes
    Dependable
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. final def ==>(other: Option[Dependable]): Dependable

    Permalink

    Optionally creates a dependency between this dependable and another dependable if one is provided.

    Optionally creates a dependency between this dependable and another dependable if one is provided.

    Definition Classes
    Dependable
  10. final def ==>(other: Dependable): Dependable

    Permalink

    Creates a dependency on this dependable, for the provided Task.

    Creates a dependency on this dependable, for the provided Task.

    Definition Classes
    Dependable
  11. def addDependent(dependent: Dependable): Unit

    Permalink

    Must be implemented to handle the addition of a dependent.

    Must be implemented to handle the addition of a dependent.

    Definition Classes
    TaskDependable
  12. def allTasks: Traversable[Task]

    Permalink

    Must be implemented to return all tasks represented by the Dependable.

    Must be implemented to return all tasks represented by the Dependable.

    Definition Classes
    TaskDependable
  13. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. def ensuring(cond: (EitherTask) ⇒ Boolean, msg: ⇒ Any): EitherTask

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to Ensuring[EitherTask] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  16. def ensuring(cond: (EitherTask) ⇒ Boolean): EitherTask

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to Ensuring[EitherTask] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  17. def ensuring(cond: Boolean, msg: ⇒ Any): EitherTask

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to Ensuring[EitherTask] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  18. def ensuring(cond: Boolean): EitherTask

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to Ensuring[EitherTask] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  22. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to StringFormat[EitherTask] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def getTasks: Traversable[Task]

    Permalink

    Decides which task to return based on choice at execution time.

    Decides which task to return based on choice at execution time.

    returns

    the list of tasks of to run.

    Definition Classes
    EitherTaskTask
  25. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  26. def headTasks: Traversable[Task]

    Permalink

    Must be implemented to return all tasks on which new predecessor dependencies should be added.

    Must be implemented to return all tasks on which new predecessor dependencies should be added.

    Definition Classes
    TaskDependable
  27. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  28. var name: String

    Permalink

    The name of the task.

    The name of the task.

    Definition Classes
    Task
  29. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  32. def onComplete(exitCode: Int): Boolean

    Permalink

    Finalize anything after the task has been run.

    Finalize anything after the task has been run.

    This method should be called after a task has been run. The intended use of this method is to allow for any modification of this task prior to any dependent tasks being run. This would allow any parameters that were passed to dependent tasks as call-by-name to be finalized here. For example, we could have passed an Option[String] that is None until make it Some(String) in this method. Then when the dependent task's getTasks method is called, it can call 'get' on the option and get something.

    exitCode

    the exit code of the task, which could also be 1 due to the system terminating this process

    returns

    true if we c

    Definition Classes
    Task
  33. def removeDependency(task: Task): Boolean

    Permalink

    Removes a dependency by removing the supplied task from the list of dependencies for this task and removing this from the list of tasks depending on "task".

    Removes a dependency by removing the supplied task from the list of dependencies for this task and removing this from the list of tasks depending on "task".

    task

    a task on which this task depends

    returns

    true if a dependency existed and was removed, false otherwise

    Definition Classes
    Task
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def tailTasks: Traversable[Task]

    Permalink

    Must be implemented to return all tasks on which new successor dependencies should be added.

    Must be implemented to return all tasks on which new successor dependencies should be added.

    Definition Classes
    TaskDependable
  36. def tasksDependedOn: Traversable[Task]

    Permalink

    Gets the sequence of tasks that this task depends on..

    Gets the sequence of tasks that this task depends on..

    Attributes
    protected[dagr.core]
    Definition Classes
    Task
  37. def tasksDependingOnThisTask: Traversable[Task]

    Permalink

    Gets the sequence of tasks that depend on this task.

    Gets the sequence of tasks that depend on this task.

    Attributes
    protected[dagr.core]
    Definition Classes
    Task
  38. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  39. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. def withName(name: String): EitherTask.this.type

    Permalink

    Sets the name of this task.

    Sets the name of this task.

    Definition Classes
    Task
  43. def [B](y: B): (EitherTask, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from EitherTask to ArrowAssoc[EitherTask] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from EitherTask to any2stringadd[EitherTask]

Inherited by implicit conversion StringFormat from EitherTask to StringFormat[EitherTask]

Inherited by implicit conversion Ensuring from EitherTask to Ensuring[EitherTask]

Inherited by implicit conversion ArrowAssoc from EitherTask to ArrowAssoc[EitherTask]

Ungrouped