org.jwarp.service.work
Class TestTool

java.lang.Object
  |
  +--org.jwarp.service.work.ATool
        |
        +--org.jwarp.service.work.TestTool
All Implemented Interfaces:
ITool

public class TestTool
extends ATool
implements ITool


Fields inherited from class org.jwarp.service.work.ATool
effectiveEnd, effectiveStart, name, runTime
 
Constructor Summary
TestTool(java.lang.String name)
           
TestTool(java.lang.String name, boolean willFail)
           
TestTool(java.lang.String name, long runTime)
           
TestTool(java.lang.String name, long runTime, boolean willFail)
           
 
Method Summary
 void doWork()
          Run the tool using the concrete parameters passed.
 Parameter[] getParameters()
           
 void started()
           
 void stopped()
           
 
Methods inherited from class org.jwarp.service.work.ATool
getName, getRuntime
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.jwarp.service.work.ITool
getName, getRuntime
 

Constructor Detail

TestTool

public TestTool(java.lang.String name)

TestTool

public TestTool(java.lang.String name,
                long runTime)

TestTool

public TestTool(java.lang.String name,
                boolean willFail)

TestTool

public TestTool(java.lang.String name,
                long runTime,
                boolean willFail)
Method Detail

doWork

public void doWork()
            throws ToolRunException
Run the tool using the concrete parameters passed.
Specified by:
doWork in interface ITool
Overrides:
doWork in class ATool
Returns:
The tools result or null.

started

public void started()
Specified by:
started in interface ITool
Overrides:
started in class ATool

stopped

public void stopped()
Specified by:
stopped in interface ITool
Overrides:
stopped in class ATool

getParameters

public Parameter[] getParameters()
Specified by:
getParameters in interface ITool

©   O R C A   S y s t e m s