Class

dagr.core.tasksystem

NoOpInJvmTask

Related Doc: package tasksystem

Permalink

class NoOpInJvmTask extends SimpleInJvmTask

Trivial No-Op task that runs inside the JVM and does nothing.

Linear Supertypes
SimpleInJvmTask, FixedResources, ScheduleWithEmptyDefaultResources, InJvmTask, UnitTask, Schedulable, LazyLogging, Task, Dependable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NoOpInJvmTask
  2. SimpleInJvmTask
  3. FixedResources
  4. ScheduleWithEmptyDefaultResources
  5. InJvmTask
  6. UnitTask
  7. Schedulable
  8. LazyLogging
  9. Task
  10. Dependable
  11. AnyRef
  12. 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 NoOpInJvmTask(taskName: String)

    Permalink

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

    Permalink
    Implicit information
    This member is added by an implicit conversion from NoOpInJvmTask to ArrowAssoc[NoOpInJvmTask] 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. def applyResources(resources: ResourceSet): Unit

    Permalink

    Called by the Scheduler immediately prior to scheduling to allow tasks to perform any necessary last-minute configuration with the knowledge of the exact set of resources they are to be run with.

    Called by the Scheduler immediately prior to scheduling to allow tasks to perform any necessary last-minute configuration with the knowledge of the exact set of resources they are to be run with.

    resources

    the set of resources that the task will be run with

    Definition Classes
    UnitTaskSchedulable
  14. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def getTasks: Traversable[_ <: NoOpInJvmTask.this.type]

    Permalink

    Get the list of tasks to execute.

    Get the list of tasks to execute.

    For UnitTask and any class that extends it, if the task wishes to be directly executed, the list should be of size one, and equal to itself. If no resources have been specified, both memory and cores default to the given resources.

    returns

    the list of tasks of to run.

    Definition Classes
    UnitTaskTask
  26. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  27. 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
  28. def inJvmMethod(): Int

    Permalink

    Executes run() and returns 0 if no exception is thrown, otherwise 1.

    Executes run() and returns 0 if no exception is thrown, otherwise 1.

    returns

    the equivalent of an exit code, with zero being success

    Definition Classes
    SimpleInJvmTaskInJvmTask
  29. final def inJvmMethod(script: Path, logFile: Path): Int

    Permalink

    The method to execute in the Jvm

    The method to execute in the Jvm

    Do not override this (you cannot anyway), as this sets the logging correctly for this task. Override inJvmMethod() instead.

    returns

    the equivalent of an exit code, with zero being success

    Definition Classes
    InJvmTask
  30. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  31. lazy val logger: Logger

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

    Permalink

    The name of the task.

    The name of the task.

    Definition Classes
    Task
  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. 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
  37. def pickResources(availableResources: ResourceSet): Option[ResourceSet]

    Permalink

    Implemented to take the fixed amount of cores and memory from the provided resource set.

    Implemented to take the fixed amount of cores and memory from the provided resource set.

    availableResources

    The system resources available to the task

    returns

    Either a ResourceSet of the desired subset of resources to run with, or None

    Definition Classes
    FixedResourcesSchedulable
  38. 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
  39. def requires(cores: Double, memory: String): NoOpInJvmTask.this.type

    Permalink

    Sets the resources that are required by this task, overriding all previous values.

    Sets the resources that are required by this task, overriding all previous values.

    Definition Classes
    FixedResources
  40. def requires(cores: Cores = Cores.none, memory: Memory = Memory.none): NoOpInJvmTask.this.type

    Permalink

    Sets the resources that are required by this task, overriding all previous values.

    Sets the resources that are required by this task, overriding all previous values.

    Definition Classes
    FixedResources
  41. def requires(resources: ResourceSet): NoOpInJvmTask.this.type

    Permalink

    Sets the resources that are required by this task, overriding all previous values.

    Sets the resources that are required by this task, overriding all previous values.

    Definition Classes
    FixedResources
  42. def resources: ResourceSet

    Permalink

    Provides access to the currently allocated set of resources for the task.

    Provides access to the currently allocated set of resources for the task.

    Definition Classes
    ScheduleWithEmptyDefaultResources
  43. def run(): Unit

    Permalink

    Abstract method to be implemented by subclasses to perform any tasks.

    Abstract method to be implemented by subclasses to perform any tasks. Should throw an exception to indicate an error or problem during processing.

    Definition Classes
    NoOpInJvmTaskSimpleInJvmTask
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. 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
  46. 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
  47. 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
  48. def toString(): String

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

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

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

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

    Permalink

    Sets the name of this task.

    Sets the name of this task.

    Definition Classes
    Task
  53. def [B](y: B): (NoOpInJvmTask, B)

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

Inherited from SimpleInJvmTask

Inherited from FixedResources

Inherited from ScheduleWithEmptyDefaultResources

Inherited from InJvmTask

Inherited from UnitTask

Inherited from Schedulable

Inherited from LazyLogging

Inherited from Task

Inherited from Dependable

Inherited from AnyRef

Inherited from Any

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

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

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

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

Ungrouped