Packages

c

com.jafpl.graph

Binding

class Binding extends AtomicNode

A variable binding.

When pipelines are constructed, variable bindings associate expressions with variable names. At runtime, the association is between the name and its computed value.

Linear Supertypes
AtomicNode, Node, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Binding
  2. AtomicNode
  3. Node
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Binding(graph: Graph, name: String, expression: Any, params: Option[BindingParams])

    Use the addBinding() method on com.jafpl.graph.ContainerStart to construct a binding.

    Use the addBinding() method on com.jafpl.graph.ContainerStart to construct a binding.

    graph

    The graph into which this node is to be inserted.

    name

    The variable's name

    expression

    Its initializer expression

    Attributes
    protected[com.jafpl]

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 _label: String
    Attributes
    protected
  5. var _start: Option[ContainerStart]
    Attributes
    protected
  6. val _staticBindings: HashMap[Binding, Message]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  7. def addInputInjectable(injectable: PortInjectable): Unit
    Definition Classes
    Node
  8. def addOutputInjectable(injectable: PortInjectable): Unit
    Definition Classes
    Node
  9. def addStepInjectable(injectable: StepInjectable): Unit
    Definition Classes
    Node
  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def bindingFor: Node
  12. def bindings: Set[String]

    The names of this step's variable bindings.

    The names of this step's variable bindings.

    This method returns the names of the variables for which this step will receive bindings at runtime.

    returns

    The variable names.

    Definition Classes
    Node
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  14. def dependsOn(node: Node): Unit

    Add a dependency edge.

    Add a dependency edge.

    This method asserts that the current node depends on another node. Ordinarily, data flow establishes dependencies automatically. If step A consumes the output of step B, the pipeline will assure that step B runs before step A.

    In cases where there is no data flow dependency, but it's still necessary to force an order, you can impose one by saying that A.dependsOn(B).

    node

    The node in the graph which must be run before this one

    Definition Classes
    Node
  15. def dumpClosed(depth: Int): Elem
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  16. def dumpClosedChildren(depth: Int): scala.xml.Node
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  17. def dumpOpen(depth: Int): Elem
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  18. def dumpOpenChildren(depth: Int): scala.xml.Node
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  19. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  21. val expression: Any
  22. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. val graph: Graph
    Definition Classes
    BindingAtomicNodeNode
  25. def hasOutputEdge(port: String): Boolean
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  27. val id: String

    A unique identifier for this node.

    A unique identifier for this node.

    Every node has a unique identifier.

    Definition Classes
    Node
  28. val inputCardinalities: HashMap[String, Long]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  29. def inputEdge(port: String): Edge
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  30. val inputInjectables: ListBuffer[PortInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  31. def inputs: Set[String]

    The names of this step's input ports.

    The names of this step's input ports.

    returns

    The input port names.

    Definition Classes
    Node
  32. def internal_name: String
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  33. def internal_name_=(newname: String): Unit
    Attributes
    protected[com.jafpl.graph]
    Definition Classes
    Node
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def label: String

    The node label.

    The node label.

    Labels are used in output to help identify the node in question. The id of the node is always appended to the label.

    Definition Classes
    BindingNode
  36. def location: Option[Location]

    The node's location.

    The node's location.

    The node location will be used for reporting (for example in errors).

    Definition Classes
    Node
  37. def location_=(loc: Location): Unit
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  38. val logger: Logger
    Attributes
    protected
    Definition Classes
    Node
  39. def manifold: Option[ManifoldSpecification]
    Definition Classes
    Node
  40. def manifold_=(man: ManifoldSpecification): Unit
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  41. val name: String
  42. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  45. val outputCardinalities: HashMap[String, Long]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  46. def outputEdge(port: String): Edge
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  47. val outputInjectables: ListBuffer[PortInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  48. def outputs: Set[String]

    The names of this step's output ports.

    The names of this step's output ports.

    returns

    The output port names.

    Definition Classes
    BindingNode
  49. val params: Option[BindingParams]
  50. def parent: Option[ContainerStart]

    This node's parent.

    This node's parent.

    returns

    This node's parent.

    Definition Classes
    Node
  51. def state: NodeState
    Definition Classes
    Node
  52. def stateTransition(newState: NodeState): Unit
    Definition Classes
    Node
  53. def staticBindings: Map[Binding, Message]
    Definition Classes
    Node
  54. def staticBindings_=(bindings: Map[Binding, Message]): Unit

    Specify the static bindings that are in scope for this node.

    Specify the static bindings that are in scope for this node.

    Static bindings are known at "compile time" and don't appear in the graph. (You aren't required to have statics in your graph.)

    This method provides the node with the set of static bindings that are in-scope.

    bindings

    The static bindings that are in-scope for this node.

    Definition Classes
    Node
  55. val step: Option[Step]
    Definition Classes
    AtomicNodeNode
  56. val stepInjectables: ListBuffer[StepInjectable]
    Attributes
    protected[com.jafpl]
    Definition Classes
    Node
  57. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  58. def toString(): String

    A string representation of this node.

    A string representation of this node.

    Definition Classes
    BindingNode → AnyRef → Any
  59. val userLabel: Option[String]
    Definition Classes
    AtomicNodeNode
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AtomicNode

Inherited from Node

Inherited from AnyRef

Inherited from Any

Ungrouped