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.
166 167 168 |
# File 'lib/t2flow/model.rb', line 166 def dataflow_id @dataflow_id end |
#description ⇒ Object
A string containing the description of the processor if available.
Returns nil otherwise.
159 160 161 |
# File 'lib/t2flow/model.rb', line 159 def description @description end |
#inputs ⇒ Object
This is a list of inputs that the processor can take in.
173 174 175 |
# File 'lib/t2flow/model.rb', line 173 def inputs @inputs end |
#name ⇒ Object
A string containing name of the processor.
155 156 157 |
# File 'lib/t2flow/model.rb', line 155 def name @name end |
#outputs ⇒ Object
This is a list of outputs that the processor can produce.
176 177 178 |
# File 'lib/t2flow/model.rb', line 176 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”
170 171 172 |
# File 'lib/t2flow/model.rb', line 170 def script @script end |
#type ⇒ Object
A string for the type of processor, e.g. beanshell, workflow, webservice, etc…
162 163 164 |
# File 'lib/t2flow/model.rb', line 162 def type @type end |