net.sourceforge.taverna.scuflworkers.ui
Class WarnWorker

java.lang.Object
  extended by net.sourceforge.taverna.scuflworkers.ui.AskWorker
      extended by net.sourceforge.taverna.scuflworkers.ui.WarnWorker
All Implemented Interfaces:
LocalWorker

public class WarnWorker
extends AskWorker
implements LocalWorker

This processor displays a warning message to the user. It should only be used with interactive workflows that are being run from Taverna. Server-side or command-line workflows should not use this processor.

Version:
$Revision: 1.2 $
Author:
Mark

Field Summary
 
Fields inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker
BINARY, BINARY_ARRAY, HTML, HTML_ARRAY, PNG_IMAGE, PNG_IMAGE_ARRAY, STRING, STRING_ARRAY, UNTYPED, UNTYPED_ARRAY
 
Constructor Summary
WarnWorker()
           
 
Method Summary
 java.util.Map execute(java.util.Map inputMap)
          Given a Map of DataThing objects as input, invoke the underlying logic of the task and return a map of DataThing objects as outputs, with the port names acting as keys in the map in both cases.
 
Methods inherited from class net.sourceforge.taverna.scuflworkers.ui.AskWorker
inputNames, inputTypes, outputNames, outputTypes
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.embl.ebi.escience.scuflworkers.java.LocalWorker
inputNames, inputTypes, outputNames, outputTypes
 

Constructor Detail

WarnWorker

public WarnWorker()
Method Detail

execute

public java.util.Map execute(java.util.Map inputMap)
                      throws TaskExecutionException
Description copied from interface: LocalWorker
Given a Map of DataThing objects as input, invoke the underlying logic of the task and return a map of DataThing objects as outputs, with the port names acting as keys in the map in both cases.

Specified by:
execute in interface LocalWorker
Overrides:
execute in class AskWorker
Throws:
TaskExecutionException - thrown if there is an error during invocation of the task.
See Also:
LocalWorker.execute(java.util.Map)