case class Workflow(name: String, path: String, transitions: Node, jobXmlOption: Option[String], configuration: Configuration, yarnConfig: YarnConfig, slaOption: Option[OozieSLA] = None)(implicit credentialsOption: Option[Credentials]) extends XmlSerializable with Nameable with OozieProperties with JobProperties with HasJobXml with HasConfig with HasSLA with Product with Serializable
Oozie workflow definition
- name
the name of the workflow
- path
The path to this workflow
- transitions
the actions within the workflow
- jobXmlOption
optional job.xml path
- configuration
configuration for this workflow
- yarnConfig
The yarn configuration for this workflow
- slaOption
Optional SLA for this workflow
- credentialsOption
optional credentials for this workflow
- Alphabetic
- By Inheritance
- Workflow
- Serializable
- Serializable
- Product
- Equals
- HasSLA
- HasConfig
- HasJobXml
- JobProperties
- OozieProperties
- PropertyFormatter
- Nameable
- XmlSerializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
Workflow(name: String, path: String, transitions: Node, jobXmlOption: Option[String], configuration: Configuration, yarnConfig: YarnConfig, slaOption: Option[OozieSLA] = None)(implicit credentialsOption: Option[Credentials])
- name
the name of the workflow
- path
The path to this workflow
- transitions
the actions within the workflow
- jobXmlOption
optional job.xml path
- configuration
configuration for this workflow
- yarnConfig
The yarn configuration for this workflow
- slaOption
Optional SLA for this workflow
- credentialsOption
optional credentials for this workflow
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
-
val
actionConfig: ActionProperties[Configuration]
- Attributes
- protected
- Definition Classes
- HasConfig
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
asIsConfig: Seq[Property]
- Attributes
- protected
- Definition Classes
- HasConfig
-
def
buildSequenceProperties(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]
Convert a sequence of property values to a map of KV pairs
Convert a sequence of property values to a map of KV pairs
- actionName
The name of the action to insert into the property name
- valueSequence
The property values
- Attributes
- protected
- Definition Classes
- OozieProperties
-
def
buildSequenceToSingleValueProperty(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]
Convert a sequence of properties to a single (comma separated) value and map to a KV pair
Convert a sequence of properties to a single (comma separated) value and map to a KV pair
- actionName
The name of the action to insert into the property name
- propName
The name of the property
- valueSequence
The property values
- Attributes
- protected
- Definition Classes
- OozieProperties
-
def
buildStringOptionProperty(actionName: String, propName: String, option: Option[String]): Map[String, String]
Convert an optional property to a map of KV pairs
Convert an optional property to a map of KV pairs
- actionName
The name of the action to insert into the property name
- propName
The name of the property
- option
the optional value to convert
- Attributes
- protected
- Definition Classes
- OozieProperties
-
def
buildStringProperty(propertyName: String, propertyValue: String): Map[String, String]
Construct a map of property values to their substituted names
Construct a map of property values to their substituted names
- propertyName
the name of the substituted property
- propertyValue
the value of the property
- returns
A map of the value to the new name
- Definition Classes
- OozieProperties
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
configXML: Elem
Render the XML for this config
Render the XML for this config
- Attributes
- protected
- Definition Classes
- HasConfig
- val configuration: Configuration
-
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] )
-
def
formatProperty(property: String): String
format predicates to expected pattern
format predicates to expected pattern
- Attributes
- protected
- Definition Classes
- PropertyFormatter
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
jobProperties: String
Get the job properties
Get the job properties
- Definition Classes
- Workflow → JobProperties
-
def
jobXml: Elem
Render the XML for this element
Render the XML for this element
- Attributes
- protected
- Definition Classes
- HasJobXml
- val jobXmlOption: Option[String]
-
val
jobXmlProperty: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasJobXml
-
val
mappedConfig: Configuration
- Attributes
- protected
- Definition Classes
- HasConfig
-
val
mappedProperties: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasConfig
-
val
name: String
The name of the object
The name of the object
- Definition Classes
- Workflow → Nameable
-
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()
- val path: String
-
def
properties: Map[String, String]
Get the Oozie properties for this object
Get the Oozie properties for this object
- Definition Classes
- Workflow → OozieProperties
- val slaOption: Option[OozieSLA]
-
val
slaOptionAndProps: Option[ActionProperties[OozieSLA]]
- Attributes
- protected
- Definition Classes
- HasSLA
-
val
slaOptionMapped: Option[OozieSLA]
- Attributes
- protected
- Definition Classes
- HasSLA
-
val
slaProperties: Map[String, String]
- Attributes
- protected
- Definition Classes
- HasSLA
-
def
slaXML: Elem
Render the XML for this SLA
Render the XML for this SLA
- Attributes
- protected
- Definition Classes
- HasSLA
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toSubWorkFlow(propagateConfiguration: Boolean): Node
Convert this workflow into a subworkflow
-
def
toXML: Elem
The XML for this node
The XML for this node
- Definition Classes
- Workflow → XmlSerializable
- val transitions: Node
-
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( ... )
- val yarnConfig: YarnConfig