Class/Object

org.antipathy.scoozie.workflow

Workflow

Related Docs: object Workflow | package workflow

Permalink

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])

    Permalink

    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

    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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildSequenceProperties(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    Permalink

    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
  6. def buildSequenceToSingleValueProperty(actionName: String, propName: String, valueSequence: Seq[String]): Map[String, String]

    Permalink

    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
  7. def buildStringOptionProperty(actionName: String, propName: String, option: Option[String]): Map[String, String]

    Permalink

    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
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def configXML: Elem

    Permalink

    Render the XML for this config

    Render the XML for this config

    Attributes
    protected
    Definition Classes
    HasConfig
  10. val configuration: Configuration

    Permalink

    configuration for this workflow

    configuration for this workflow

    Definition Classes
    WorkflowHasConfig
  11. val configurationProperties: ActionProperties[Configuration]

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  12. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def formatProperty(property: String): String

    Permalink

    format predicates to expected pattern

    format predicates to expected pattern

    Attributes
    protected
    Definition Classes
    PropertyFormatter
  15. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. def jobProperties: String

    Permalink

    Get the job properties

    Get the job properties

    Definition Classes
    Workflow → JobProperties
  18. def jobXml: Elem

    Permalink

    Render the XML for this element

    Render the XML for this element

    Attributes
    protected
    Definition Classes
    HasJobXml
  19. val jobXmlOption: Option[String]

    Permalink

    optional job.xml path

    optional job.xml path

    Definition Classes
    WorkflowHasJobXml
  20. val jobXmlProperty: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasJobXml
  21. val mappedConfig: Configuration

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  22. val mappedProperties: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasConfig
  23. val name: String

    Permalink

    the name of the workflow

    the name of the workflow

    Definition Classes
    Workflow → Nameable
  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. val path: String

    Permalink

    The path to this workflow

  28. def properties: Map[String, String]

    Permalink

    Get the Oozie properties for this object

    Get the Oozie properties for this object

    Definition Classes
    Workflow → OozieProperties
  29. val slaOption: Option[OozieSLA]

    Permalink

    Optional SLA for this workflow

    Optional SLA for this workflow

    Definition Classes
    WorkflowHasSLA
  30. val slaOptionAndProps: Option[ActionProperties[OozieSLA]]

    Permalink
    Attributes
    protected
    Definition Classes
    HasSLA
  31. val slaOptionMapped: Option[OozieSLA]

    Permalink
    Attributes
    protected
    Definition Classes
    HasSLA
  32. val slaProperties: Map[String, String]

    Permalink
    Attributes
    protected
    Definition Classes
    HasSLA
  33. def slaXML: Elem

    Permalink

    Render the XML for this SLA

    Render the XML for this SLA

    Attributes
    protected
    Definition Classes
    HasSLA
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  35. def toSubWorkFlow(propagateConfiguration: Boolean): Node

    Permalink

    Convert this workflow into a subworkflow

  36. def toXML: Elem

    Permalink

    The XML for this node

    The XML for this node

    Definition Classes
    Workflow → XmlSerializable
  37. val transitions: Node

    Permalink

    the actions within the workflow

  38. final def wait(): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  40. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  41. val yarnConfig: YarnConfig

    Permalink

    The yarn configuration for this workflow

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