Class

com.criteo.cuttle

Job

Related Doc: package cuttle

Permalink

case class Job[S <: Scheduling](id: String, scheduling: S, name: String = "", description: String = "", tags: Set[Tag] = Set.empty[Tag])(effect: SideEffect[S]) extends Workflow[S] with Product with Serializable

The job SideEffect is the most important part as it represents the real job logic to execute. A job is defined for a given Scheduling, for example it can be a TimeSeries job. Jobs are also Workflow with a single vertice.

S

The kind of Scheduling used by this job.

id

the internal job id. It will be sued to track the job state in the database, so it must not change over time otherwise the job will be seen as a new one by the scheduler.

scheduling

The scheduling configuration for the job. For example a TimeSeries job can be configured to be hourly or daily, etc.

name

The job name as displayed in the UI.

description

The job description as displayed in the UI.

tags

The job tags used to filter jobs in the UI.

effect

The job side effect, representing the real job execution.

Linear Supertypes
Serializable, Serializable, Product, Equals, Workflow[S], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Job
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. Workflow
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Job(id: String, scheduling: S, name: String = "", description: String = "", tags: Set[Tag] = Set.empty[Tag])(effect: SideEffect[S])

    Permalink

    id

    the internal job id. It will be sued to track the job state in the database, so it must not change over time otherwise the job will be seen as a new one by the scheduler.

    scheduling

    The scheduling configuration for the job. For example a TimeSeries job can be configured to be hourly or daily, etc.

    name

    The job name as displayed in the UI.

    description

    The job description as displayed in the UI.

    tags

    The job tags used to filter jobs in the UI.

    effect

    The job side effect, representing the real job execution.

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 and(otherWorflow: Workflow[S]): Workflow[S]

    Permalink

    Compose a Workflow with another Workflow but without any dependency.

    Compose a Workflow with another Workflow but without any dependency. It won't add any edge to the graph.

    otherWorflow

    The workflow to compose this workflow with.

    Definition Classes
    Workflow
  5. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dependsOn(rightOperand: (Workflow[S], S.DependencyDescriptor)): Workflow[S]

    Permalink

    Compose a Workflow with a second Workflow with a dependencies added between all this workflow roots and the other workflow leaves.

    Compose a Workflow with a second Workflow with a dependencies added between all this workflow roots and the other workflow leaves. The added dependencies will use the specified dependency descriptors.

    Definition Classes
    Workflow
  8. def dependsOn(rightWorkflow: Workflow[S])(implicit dependencyDescriptor: S.DependencyDescriptor): Workflow[S]

    Permalink

    Compose a Workflow with a second Workflow with a dependencies added between all this workflow roots and the other workflow leaves.

    Compose a Workflow with a second Workflow with a dependencies added between all this workflow roots and the other workflow leaves. The added dependencies will use the default dependency descriptors implicitly provided by the Scheduling used by this workflow.

    rightWorkflow

    The workflow to compose this workflow with.

    dependencyDescriptor

    If injected implicitly, default dependency descriptor for the current Scheduling.

    Definition Classes
    Workflow
  9. val description: String

    Permalink

    The job description as displayed in the UI.

  10. val effect: SideEffect[S]

    Permalink

    The job side effect, representing the real job execution.

  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. val id: String

    Permalink

    the internal job id.

    the internal job id. It will be sued to track the job state in the database, so it must not change over time otherwise the job will be seen as a new one by the scheduler.

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. val name: String

    Permalink

    The job name as displayed in the UI.

  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. val scheduling: S

    Permalink

    The scheduling configuration for the job.

    The scheduling configuration for the job. For example a TimeSeries job can be configured to be hourly or daily, etc.

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

    Permalink
    Definition Classes
    AnyRef
  22. val tags: Set[Tag]

    Permalink

    The job tags used to filter jobs in the UI.

  23. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. 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 Workflow[S]

Inherited from AnyRef

Inherited from Any

Ungrouped