Class: T2Flow::Processor

Inherits:
Object
  • Object
show all
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

Instance Attribute Details

#biomoby_authority_nameObject

Authority name for the biomoby service.



233
234
235
# File 'lib/t2flow/model.rb', line 233

def biomoby_authority_name
  @biomoby_authority_name
end

#biomoby_categoryObject

Category for the biomoby service.



240
241
242
# File 'lib/t2flow/model.rb', line 240

def biomoby_category
  @biomoby_category
end

#biomoby_service_nameObject

Service name for the biomoby service. This is not necessarily the same as the processors name.



237
238
239
# File 'lib/t2flow/model.rb', line 237

def biomoby_service_name
  @biomoby_service_name
end

#dataflow_idObject

For processors that have type “dataflow”, this is the the reference to the dataflow. For all other processor types, this is nil.



210
211
212
# File 'lib/t2flow/model.rb', line 210

def dataflow_id
  @dataflow_id
end

#descriptionObject

A string containing the description of the processor if available.

Returns nil otherwise.



203
204
205
# File 'lib/t2flow/model.rb', line 203

def description
  @description
end

#endpointObject

For soaplab and biomoby services, this is the endpoint URI.



230
231
232
# File 'lib/t2flow/model.rb', line 230

def endpoint
  @endpoint
end

#inputsObject

This is a list of inputs that the processor can take in.



217
218
219
# File 'lib/t2flow/model.rb', line 217

def inputs
  @inputs
end

#nameObject

A string containing name of the processor.



199
200
201
# File 'lib/t2flow/model.rb', line 199

def name
  @name
end

#outputsObject

This is a list of outputs that the processor can produce.



220
221
222
# File 'lib/t2flow/model.rb', line 220

def outputs
  @outputs
end

#scriptObject

This only has a value in beanshell processors. This is the actual script embedded with the processor which does all the “work”



214
215
216
# File 'lib/t2flow/model.rb', line 214

def script
  @script
end

#typeObject

A string for the type of processor, e.g. beanshell, workflow, webservice, etc…



206
207
208
# File 'lib/t2flow/model.rb', line 206

def type
  @type
end

#wsdlObject

For processors of type “arbitrarywsdl”, this is the URI to the location of the wsdl file.



224
225
226
# File 'lib/t2flow/model.rb', line 224

def wsdl
  @wsdl
end

#wsdl_operationObject

For processors of type “arbitrarywsdl”, this is the operation invoked.



227
228
229
# File 'lib/t2flow/model.rb', line 227

def wsdl_operation
  @wsdl_operation
end