trait Workflow[O] extends AnyRef
Workflows must be defined in terms of a particular type of UnitDef
they target, and an output of the workflow. By having a workflow
specilized to a particular type of unit, we avoid having to have
'uber workflows' that need to handle every possible type of unit,
which reduces the implementation complexity of a given workflow quite
considerably. In addition, the output type O
is intended to provide
an opertunity for the workflow to output something more than just
effects. For example, a workflow could accumulate a set of logs, or
some reporting state - whatever - it doesnt matter.
Workflows define both setup (deploy) and teardown (detroy) workflow
- Source
- Workflow.scala
- Alphabetic
- By Inheritance
- Workflow
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
- abstract def deploy(id: ID, hash: String, unit: @@[UnitDef, Versioned], p: Plan, dc: Datacenter, ns: Namespace): WorkflowF[O]
- abstract def destroy(d: Deployment, dc: Datacenter, ns: Namespace): WorkflowF[O]
- abstract def name: WorkflowRef
Concrete 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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
- @native() @throws( ... )