Class

dagr.core.tasksystem

Pipeline

Related Doc: package tasksystem

Permalink

abstract class Pipeline extends Task with LazyLogging

Simple trait to track tasks within a pipeline

Linear Supertypes
LazyLogging, Task, Dependable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Pipeline
  2. LazyLogging
  3. Task
  4. Dependable
  5. AnyRef
  6. 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

Instance Constructors

  1. new Pipeline(outputDirectory: Option[Path] = None, prefix: Option[String] = None, suffix: Option[String] = None)

    Permalink

Abstract Value Members

  1. abstract def build(): Unit

    Permalink

    Build your pipeline here.

    Build your pipeline here. Use ==> to define dependencies between tasks and use root ==> myTask to capture tasks that have no dependencies and can start immediately.

Concrete 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 Pipeline to any2stringadd[Pipeline] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  5. def ->[B](y: B): (Pipeline, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from Pipeline to ArrowAssoc[Pipeline] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  6. 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
  7. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. 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
  9. 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
  10. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. def contains(task: Task): Boolean

    Permalink

    True if we this pipeline is tracking this direct ancestor task, false otherwise.

  13. def ensuring(cond: (Pipeline) ⇒ Boolean, msg: ⇒ Any): Pipeline

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def getTasks: Traversable[_ <: Task]

    Permalink

    Will call build() and get the tasks.

    Will call build() and get the tasks.

    returns

    the list of tasks of to run.

    Definition Classes
    PipelineTask
  23. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. lazy val logger: Logger

    Permalink
    Attributes
    protected
    Definition Classes
    LazyLogging
  26. var name: String

    Permalink

    The name of the task.

    The name of the task.

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

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

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

    Permalink
    Definition Classes
    AnyRef
  30. 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
  31. val outputDirectory: Option[Path]

    Permalink
  32. 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
  33. val root: Dependable

    Permalink

    A name exposed to sub-classes that can be treated like a Task, to add root tasks.

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

    Permalink
    Definition Classes
    AnyRef
  35. 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
  36. 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
  37. def toString(): String

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

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

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

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

    Permalink

    Sets the name of this task.

    Sets the name of this task.

    Definition Classes
    Task
  42. def [B](y: B): (Pipeline, B)

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

Inherited from LazyLogging

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped