Packages

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

Linear Supertypes
Serializable, Serializable, Product, Equals, HasSLA, HasConfig, HasJobXml, JobProperties, OozieProperties, PropertyFormatter, Nameable, XmlSerializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Workflow
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. HasSLA
  7. HasConfig
  8. HasJobXml
  9. JobProperties
  10. OozieProperties
  11. PropertyFormatter
  12. Nameable
  13. XmlSerializable
  14. AnyRef
  15. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. 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

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. val actionConfig: ActionProperties[Configuration]
    Attributes
    protected
    Definition Classes
    HasConfig
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. val asIsConfig: Seq[Property]
    Attributes
    protected
    Definition Classes
    HasConfig
  7. 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
  8. 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
  9. 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
  10. 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
  11. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  12. def configXML: Elem

    Render the XML for this config

    Render the XML for this config

    Attributes
    protected
    Definition Classes
    HasConfig
  13. val configuration: Configuration
    Definition Classes
    WorkflowHasConfig
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def formatProperty(property: String): String

    format predicates to expected pattern

    format predicates to expected pattern

    Attributes
    protected
    Definition Classes
    PropertyFormatter
  17. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def jobProperties: String

    Get the job properties

    Get the job properties

    Definition Classes
    Workflow → JobProperties
  20. def jobXml: Elem

    Render the XML for this element

    Render the XML for this element

    Attributes
    protected
    Definition Classes
    HasJobXml
  21. val jobXmlOption: Option[String]
    Definition Classes
    WorkflowHasJobXml
  22. val jobXmlProperty: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasJobXml
  23. val mappedConfig: Configuration
    Attributes
    protected
    Definition Classes
    HasConfig
  24. val mappedProperties: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasConfig
  25. val name: String

    The name of the object

    The name of the object

    Definition Classes
    Workflow → Nameable
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. val path: String
  30. def properties: Map[String, String]

    Get the Oozie properties for this object

    Get the Oozie properties for this object

    Definition Classes
    Workflow → OozieProperties
  31. val slaOption: Option[OozieSLA]
    Definition Classes
    WorkflowHasSLA
  32. val slaOptionAndProps: Option[ActionProperties[OozieSLA]]
    Attributes
    protected
    Definition Classes
    HasSLA
  33. val slaOptionMapped: Option[OozieSLA]
    Attributes
    protected
    Definition Classes
    HasSLA
  34. val slaProperties: Map[String, String]
    Attributes
    protected
    Definition Classes
    HasSLA
  35. def slaXML: Elem

    Render the XML for this SLA

    Render the XML for this SLA

    Attributes
    protected
    Definition Classes
    HasSLA
  36. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  37. def toSubWorkFlow(propagateConfiguration: Boolean): Node

    Convert this workflow into a subworkflow

  38. def toXML: Elem

    The XML for this node

    The XML for this node

    Definition Classes
    Workflow → XmlSerializable
  39. val transitions: Node
  40. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  42. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  43. val yarnConfig: YarnConfig

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from HasSLA

Inherited from HasConfig

Inherited from HasJobXml

Inherited from JobProperties

Inherited from OozieProperties

Inherited from PropertyFormatter

Inherited from Nameable

Inherited from XmlSerializable

Inherited from AnyRef

Inherited from Any

Ungrouped