case class WdlWorkflow(unqualifiedName: String, workflowOutputWildcards: Seq[WorkflowOutputWildcard], wdlSyntaxErrorFormatter: WdlSyntaxErrorFormatter, meta: Map[String, String], parameterMeta: Map[String, String], ast: Ast) extends WdlCallable with Product with Serializable
- Alphabetic
- By Inheritance
- WdlWorkflow
- Serializable
- Serializable
- Product
- Equals
- WdlCallable
- Scope
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new WdlWorkflow(unqualifiedName: String, workflowOutputWildcards: Seq[WorkflowOutputWildcard], wdlSyntaxErrorFormatter: WdlSyntaxErrorFormatter, meta: Map[String, String], parameterMeta: Map[String, String], ast: Ast)
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
-
lazy val
ancestry: Seq[Scope]
Seq(parent, grandparent, great grandparent, ..., WdlNamespace)
Seq(parent, grandparent, great grandparent, ..., WdlNamespace)
- Definition Classes
- Scope
-
def
appearsInFqn: Boolean
- Definition Classes
- Scope
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
val
ast: Ast
- Definition Classes
- WdlWorkflow → Scope
-
lazy val
calls: Set[WdlCall]
Descendants that are Calls
Descendants that are Calls
- Definition Classes
- Scope
-
def
children: Seq[Scope]
Child scopes, in the order that they appear in the source code
Child scopes, in the order that they appear in the source code
- Definition Classes
- Scope
-
def
children_=[Child <: Scope](children: Seq[Child]): Unit
- Definition Classes
- Scope
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
closestCommonAncestor(other: Scope): Option[Scope]
Given another scope, returns the closest common ancestor between the two scopes, if one exists at all
Given another scope, returns the closest common ancestor between the two scopes, if one exists at all
- returns
closest common ancestor
- Definition Classes
- Scope
-
def
closestCommonScatter(other: Scope): Option[Scatter]
- Definition Classes
- Scope
-
lazy val
declarations: Seq[Declaration]
Declarations within this Scope, in the order that they appear in source code
Declarations within this Scope, in the order that they appear in source code
- Definition Classes
- Scope
-
lazy val
descendants: Set[Scope]
All children ++ children's children ++ etc
All children ++ children's children ++ etc
- Definition Classes
- Scope
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def evaluateOutputs(knownInputs: WorkflowCoercedInputs, wdlFunctions: WdlFunctions[WdlValue], outputResolver: OutputResolver = NoOutputResolver, shards: Map[Scatter, Int] = Map.empty[Scatter, Int]): Try[Map[WorkflowOutput, WdlValue]]
-
lazy val
expandedWildcardOutputs: Seq[WorkflowOutput]
All outputs for this workflow and their associated types
All outputs for this workflow and their associated types
- returns
a Map[FullyQualifiedName, WdlType] representing the union of all outputs from all
calls within this workflow
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
findCallByName(name: String): Option[WdlCall]
Find a Call object by name.
Find a Call object by name. For example,
workflow w { call foobar }calling findCallByName("foobar") will return a Some(call). All other values would return a None
- name
name of call to return
- returns
Some(Call) if one with that name was found otherwise None
- def findDeclarationByName(name: String): Option[Declaration]
- def findWorkflowOutputByName(name: String, relativeTo: Scope): Option[WorkflowOutput]
-
lazy val
fullyQualifiedName: String
String identifier for this scope.
String identifier for this scope. this.namespace.resolve(this.fullyQualifiedName) == this
- Definition Classes
- Scope
-
def
fullyQualifiedNameWithIndexScopes: String
String identifier for this scope, with hidden scope information.
String identifier for this scope, with hidden scope information.
this.namespace.resolve(this.fullyQualifiedNameWithIndexScopes) == this
- Definition Classes
- Scope
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- lazy val hasEmptyOutputSection: Boolean
-
def
inputs: Map[FullyQualifiedName, WorkflowInput]
FQNs for all inputs to this workflow and their associated types and possible postfix quantifiers.
FQNs for all inputs to this workflow and their associated types and possible postfix quantifiers.
- returns
a Map[FullyQualifiedName, WorkflowInput] representing the inputs that the user needs to provide to this workflow
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
locallyQualifiedName(relativeTo: Scope): String
Similar to fullyQualifiedName but relatively to an ancestry scope.
Similar to fullyQualifiedName but relatively to an ancestry scope. e.g. Workflow w Call a Output o
o.locallyQualified(a) = "a.o" o.locallyQualified(w) = o.fullyQualifiedName = "w.a.o"
- Definition Classes
- Scope
-
def
lookupFunction(knownInputs: WorkflowCoercedInputs, wdlFunctions: WdlFunctions[WdlValue], outputResolver: OutputResolver = NoOutputResolver, shards: Map[Scatter, Int] = Map.empty[Scatter, Int], relativeTo: Scope = this): (String) ⇒ WdlValue
This will return a lookup function for evaluating expressions which will traverse up the scope hierarchy to find a value for
name.This will return a lookup function for evaluating expressions which will traverse up the scope hierarchy to find a value for
name. An exception will be thrown if a value cannot be found forname- knownInputs
All known values of FQNs
- wdlFunctions
Implementation of WDL functions for expression evaluation
- shards
For resolving specific shards of scatter blocks
- returns
String => WdlValue lookup function rooted at
scope
- Definition Classes
- Scope
- Exceptions thrown
VariableLookupExceptionif anything else goes wrong in looking up a value fornameVariableNotFoundExceptionIf no errors occurred, but alsonamedidn't resolve to any value
- val meta: Map[String, String]
-
def
namespace: WdlNamespace
Containing namespace
Containing namespace
- Definition Classes
- Scope
-
def
namespace_=[Child <: WdlNamespace](ns: WdlNamespace): Unit
- Definition Classes
- Scope
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
lazy val
outputs: Seq[WorkflowOutput]
- Definition Classes
- WdlWorkflow → WdlCallable
- val parameterMeta: Map[String, String]
-
def
parent: Option[Scope]
Parent scope
Parent scope
- Definition Classes
- Scope
-
def
parent_=[Child <: Scope](scope: Scope): Unit
- Definition Classes
- Scope
-
def
resolveVariable(name: String, relativeTo: Scope = this): Option[WdlGraphNode]
First tries to find any Call with name
name.First tries to find any Call with name
name. If not found, Fallback to looking at immediate children or delegating to parent node- Definition Classes
- WdlWorkflow → Scope
-
lazy val
scatters: Set[Scatter]
Descendants that are Scatters
Descendants that are Scatters
- Definition Classes
- Scope
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
lazy val
taskCalls: Set[WdlTaskCall]
- Definition Classes
- Scope
-
def
toString(): String
- Definition Classes
- WdlWorkflow → AnyRef → Any
-
lazy val
transitiveDeclarations: Set[Declaration]
Declarations within the workflow scope (including inside scatters and ifs)
-
val
unqualifiedName: String
- Definition Classes
- WdlWorkflow → Scope
-
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( ... )
- val wdlSyntaxErrorFormatter: WdlSyntaxErrorFormatter
-
lazy val
womDefinition: WorkflowDefinition
Convert this WdlWorkflow into a wom.components.Workflow
Convert this WdlWorkflow into a wom.components.Workflow
- Definition Classes
- WdlWorkflow → WdlCallable
-
lazy val
workflowCalls: Set[WdlWorkflowCall]
- Definition Classes
- Scope
- val workflowOutputWildcards: Seq[WorkflowOutputWildcard]