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.
- Alphabetic
- By Inheritance
- Job
- Serializable
- Serializable
- Product
- Equals
- Workflow
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Job(id: String, scheduling: S, name: String = "", description: String = "", tags: Set[Tag] = Set.empty[Tag])(effect: SideEffect[S])
- 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
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
and(otherWorflow: Workflow[S]): Workflow[S]
Compose a Workflow with another Workflow but without any dependency.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
dependsOn(rightOperand: (Workflow[S], S.DependencyDescriptor)): Workflow[S]
Compose a Workflow with a second Workflow with a dependencies added between all this workflow roots and the other workflow leaves.
-
def
dependsOn(rightWorkflow: Workflow[S])(implicit dependencyDescriptor: S.DependencyDescriptor): Workflow[S]
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
- val description: String
- val effect: SideEffect[S]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- val id: String
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val name: String
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- val scheduling: S
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val tags: Set[Tag]
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )