nl.utwente.ewi.hmi.taverna.scuflworkers.rshell
Class RshellProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by nl.utwente.ewi.hmi.taverna.scuflworkers.rshell.RshellProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class RshellProcessor
extends Processor
implements java.io.Serializable

A processor that uses the Rshell scripting engine to allow R (the free version of S) to be invoked on workflow data. Rshell (which allows R scripts to be executed remotely) must be runniTomng on localhost. Support for other hosts and authentication will be added later.

Author:
Stian Soiland, Ingo Wassink
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
RshellProcessor(ScuflModel model, java.lang.String name)
           
 
Method Summary
 RshellConnectionSettings getConnectionSettings()
          Method for getting the connection settings
 java.util.Properties getProperties()
          Get the properties for this processor for display purposes
 java.lang.String getScript()
          Get the script
 void setScript(java.lang.String script)
          Set the script
 
Methods inherited from class org.embl.ebi.escience.scufl.Processor
addAlternate, addAnnotationTemplate, addBreakpoint, addPort, defaultAnnotationTemplates, fireModelEvent, getAlternatesArray, getAlternatesList, getAnnotationTemplates, getBackoff, getBoundInputPorts, getBoundOutputPorts, getCritical, getDefaultWorkers, getDescription, getInputPorts, getIterationStrategy, getLogLevel, getMaximumWorkers, getModel, getName, getOutputPorts, getPorts, getRealLogLevel, getResourceHost, getRetries, getRetryDelay, getTimeout, getWorkers, hasBreakpoint, isBoring, isOffline, locatePort, locatePort, removeAlternate, removeAnnotationTemplate, removePort, rmvBreakpoint, setBackoff, setBoring, setCritical, setDescription, setIterationStrategy, setLogLevel, setName, setOffline, setOnline, setRetries, setRetryDelay, setTimeout, setWorkers, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RshellProcessor

public RshellProcessor(ScuflModel model,
                       java.lang.String name)
                throws ProcessorCreationException,
                       DuplicateProcessorNameException
Throws:
ProcessorCreationException
DuplicateProcessorNameException
Method Detail

setScript

public void setScript(java.lang.String script)
Set the script

Parameters:
newScript - the new script

getScript

public java.lang.String getScript()
Get the script

Returns:
the script

getProperties

public java.util.Properties getProperties()
Get the properties for this processor for display purposes

Specified by:
getProperties in interface IProcessor
Specified by:
getProperties in class Processor
Returns:
the properties

getConnectionSettings

public RshellConnectionSettings getConnectionSettings()
Method for getting the connection settings

Returns:
the connection settings