org.oddjob.webapp.servlets
Class OddjobRunOrLoad

java.lang.Object
  extended by org.oddjob.webapp.servlets.OddjobRunOrLoad

public class OddjobRunOrLoad
extends Object

Encapsulate run or loading Oddjob.

Author:
rob

Constructor Summary
OddjobRunOrLoad(Oddjob oddjob)
          Constructor.
 
Method Summary
 void runOrLoad(String action)
          Perform the action.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OddjobRunOrLoad

public OddjobRunOrLoad(Oddjob oddjob)
Constructor.

Parameters:
oddjob -
Method Detail

runOrLoad

public void runOrLoad(String action)
               throws ServletException
Perform the action. Either run or load.

Parameters:
action -
Throws:
ServletException