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
-
#biomoby_authority_name ⇒ Object
Authority name for the biomoby service.
-
#biomoby_category ⇒ Object
Category for the biomoby service.
-
#biomoby_service_name ⇒ Object
Service name for the biomoby service.
-
#dataflow_id ⇒ Object
For processors that have type “dataflow”, this is the the reference to the dataflow.
-
#descriptions ⇒ Object
A string containing the description of the processor if available.
-
#endpoint ⇒ Object
For soaplab and biomoby services, this is the endpoint URI.
-
#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.
-
#semantic_annotation ⇒ Object
Returns the value of attribute semantic_annotation.
-
#type ⇒ Object
A string for the type of processor, e.g.
-
#value ⇒ Object
Value for string constants.
-
#wsdl ⇒ Object
For processors of type “arbitrarywsdl”, this is the URI to the location of the wsdl file.
-
#wsdl_operation ⇒ Object
For processors of type “arbitrarywsdl”, this is the operation invoked.
Instance Method Summary collapse
- #description ⇒ Object
-
#initialize ⇒ Processor
constructor
A new instance of Processor.
Constructor Details
#initialize ⇒ Processor
Returns a new instance of Processor.
292 293 294 |
# File 'lib/t2flow/model.rb', line 292 def initialize @descriptions = [] end |
Instance Attribute Details
#biomoby_authority_name ⇒ Object
Authority name for the biomoby service.
278 279 280 |
# File 'lib/t2flow/model.rb', line 278 def @biomoby_authority_name end |
#biomoby_category ⇒ Object
Category for the biomoby service.
285 286 287 |
# File 'lib/t2flow/model.rb', line 285 def biomoby_category @biomoby_category end |
#biomoby_service_name ⇒ Object
Service name for the biomoby service. This is not necessarily the same as the processors name.
282 283 284 |
# File 'lib/t2flow/model.rb', line 282 def biomoby_service_name @biomoby_service_name end |
#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.
255 256 257 |
# File 'lib/t2flow/model.rb', line 255 def dataflow_id @dataflow_id end |
#descriptions ⇒ Object
A string containing the description of the processor if available.
Returns nil otherwise.
244 245 246 |
# File 'lib/t2flow/model.rb', line 244 def descriptions @descriptions end |
#endpoint ⇒ Object
For soaplab and biomoby services, this is the endpoint URI.
275 276 277 |
# File 'lib/t2flow/model.rb', line 275 def endpoint @endpoint end |
#inputs ⇒ Object
This is a list of inputs that the processor can take in.
262 263 264 |
# File 'lib/t2flow/model.rb', line 262 def inputs @inputs end |
#name ⇒ Object
A string containing name of the processor.
240 241 242 |
# File 'lib/t2flow/model.rb', line 240 def name @name end |
#outputs ⇒ Object
This is a list of outputs that the processor can produce.
265 266 267 |
# File 'lib/t2flow/model.rb', line 265 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”
259 260 261 |
# File 'lib/t2flow/model.rb', line 259 def script @script end |
#semantic_annotation ⇒ Object
Returns the value of attribute semantic_annotation.
290 291 292 |
# File 'lib/t2flow/model.rb', line 290 def semantic_annotation @semantic_annotation end |
#type ⇒ Object
A string for the type of processor, e.g. beanshell, workflow, webservice, etc…
251 252 253 |
# File 'lib/t2flow/model.rb', line 251 def type @type end |
#value ⇒ Object
Value for string constants
288 289 290 |
# File 'lib/t2flow/model.rb', line 288 def value @value end |
#wsdl ⇒ Object
For processors of type “arbitrarywsdl”, this is the URI to the location of the wsdl file.
269 270 271 |
# File 'lib/t2flow/model.rb', line 269 def wsdl @wsdl end |
#wsdl_operation ⇒ Object
For processors of type “arbitrarywsdl”, this is the operation invoked.
272 273 274 |
# File 'lib/t2flow/model.rb', line 272 def wsdl_operation @wsdl_operation end |
Instance Method Details
#description ⇒ Object
246 247 248 |
# File 'lib/t2flow/model.rb', line 246 def description @descriptions.first end |