Class: Scufl::Processor

Inherits:
Object
  • Object
show all
Defined in:
lib/scufl/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.



221
222
223
# File 'lib/scufl/model.rb', line 221

def biomoby_authority_name
  @biomoby_authority_name
end

#biomoby_categoryObject

Category for the biomoby service.



228
229
230
# File 'lib/scufl/model.rb', line 228

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.



225
226
227
# File 'lib/scufl/model.rb', line 225

def biomoby_service_name
  @biomoby_service_name
end

#descriptionObject

A string containing the description of the processor if available.

Returns nil otherwise.



191
192
193
# File 'lib/scufl/model.rb', line 191

def description
  @description
end

#endpointObject

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



218
219
220
# File 'lib/scufl/model.rb', line 218

def endpoint
  @endpoint
end

#inputsObject

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



205
206
207
# File 'lib/scufl/model.rb', line 205

def inputs
  @inputs
end

#modelObject

For processors that have type == “workflow”, model is the the workflow definition. For all other processor types, model is nil.



198
199
200
# File 'lib/scufl/model.rb', line 198

def model
  @model
end

#nameObject

A string containing name of the processor.



187
188
189
# File 'lib/scufl/model.rb', line 187

def name
  @name
end

#outputsObject

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



208
209
210
# File 'lib/scufl/model.rb', line 208

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”



202
203
204
# File 'lib/scufl/model.rb', line 202

def script
  @script
end

#typeObject

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



194
195
196
# File 'lib/scufl/model.rb', line 194

def type
  @type
end

#valueObject

Value of a string constant



231
232
233
# File 'lib/scufl/model.rb', line 231

def value
  @value
end

#wsdlObject

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



212
213
214
# File 'lib/scufl/model.rb', line 212

def wsdl
  @wsdl
end

#wsdl_operationObject

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



215
216
217
# File 'lib/scufl/model.rb', line 215

def wsdl_operation
  @wsdl_operation
end