org.embl.ebi.escience.scuflworkers.stringconstant
Class StringConstantProcessor

java.lang.Object
  extended by org.embl.ebi.escience.scufl.Processor
      extended by org.embl.ebi.escience.scuflworkers.stringconstant.StringConstantProcessor
All Implemented Interfaces:
java.io.Serializable, IProcessor

public class StringConstantProcessor
extends Processor
implements java.io.Serializable

A processor to contain a single string constant

Author:
Tom Oinn
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scufl.IProcessor
ENACTOR
 
Constructor Summary
StringConstantProcessor(ScuflModel model, java.lang.String name, java.lang.String value)
          Construct a new processor with the given model and name, delegates to the superclass.
 
Method Summary
 java.util.Properties getProperties()
          Get the properties for this processor for display purposes
 java.lang.String getStringValue()
          Get the value for the string constant
 void setStringValue(java.lang.String theStringValue)
          Set the string value for the string constant
 java.lang.String toString()
          Override the toString method
 
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
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StringConstantProcessor

public StringConstantProcessor(ScuflModel model,
                               java.lang.String name,
                               java.lang.String value)
                        throws ProcessorCreationException,
                               DuplicateProcessorNameException
Construct a new processor with the given model and name, delegates to the superclass.

Throws:
ProcessorCreationException
DuplicateProcessorNameException
Method Detail

toString

public java.lang.String toString()
Override the toString method

Overrides:
toString in class Processor

getStringValue

public java.lang.String getStringValue()
Get the value for the string constant


setStringValue

public void setStringValue(java.lang.String theStringValue)
Set the string value for the string constant


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:
a Properties instance containing all processor-specific properties, or optinally null if there are none