Class: T2Flow::Processor
- Inherits:
-
Object
- Object
- T2Flow::Processor
- Defined in:
- lib/t2flow/model.rb
Overview
This is the (shim) object within the workflow. This can be a beanshell, a webservice, a workflow, etc…
Instance Attribute Summary collapse
-
#dataflow_id ⇒ Object
For processors that have type == “dataflow”, this is the the reference to the dataflow.
-
#description ⇒ Object
A string containing the description of the processor if available.
-
#inputs ⇒ Object
This is a list of inputs that the processor can take in.
-
#name ⇒ Object
A string containing name of the processor.
-
#outputs ⇒ Object
This is a list of outputs that the processor can produce.
-
#script ⇒ Object
This only has a value in beanshell processors.
-
#type ⇒ Object
A string for the type of processor, e.g.
Instance Attribute Details
#dataflow_id ⇒ Object
For processors that have type == “dataflow”, this is the the reference to the dataflow. For all other processor types, this is nil.
122 123 124 |
# File 'lib/t2flow/model.rb', line 122 def dataflow_id @dataflow_id end |
#description ⇒ Object
A string containing the description of the processor if available.
Returns nil otherwise.
115 116 117 |
# File 'lib/t2flow/model.rb', line 115 def description @description end |
#inputs ⇒ Object
This is a list of inputs that the processor can take in.
129 130 131 |
# File 'lib/t2flow/model.rb', line 129 def inputs @inputs end |
#name ⇒ Object
A string containing name of the processor.
111 112 113 |
# File 'lib/t2flow/model.rb', line 111 def name @name end |
#outputs ⇒ Object
This is a list of outputs that the processor can produce.
132 133 134 |
# File 'lib/t2flow/model.rb', line 132 def outputs @outputs end |
#script ⇒ Object
This only has a value in beanshell processors. This is the actual script embedded with the processor which does all the “work”
126 127 128 |
# File 'lib/t2flow/model.rb', line 126 def script @script end |
#type ⇒ Object
A string for the type of processor, e.g. beanshell, workflow, webservice, etc…
118 119 120 |
# File 'lib/t2flow/model.rb', line 118 def type @type end |