net.eduvax.grant.simul
Class TestTasklet

java.lang.Object
  extended by net.eduvax.grant.core.AbstractTasklet
      extended by net.eduvax.grant.simul.TestTasklet
All Implemented Interfaces:
java.lang.Runnable, Tasklet

public class TestTasklet
extends AbstractTasklet

Tasklet base test. Only sleeps N seconds where N is the unique commande line argument...


Field Summary
static int DEF_DELAY
          default delay (millisec).
static int SEC_UNIT
          one second is 1000 milliseconds.
 
Fields inherited from class net.eduvax.grant.core.AbstractTasklet
context, exitCode
 
Constructor Summary
TestTasklet()
          Create new test tasklet.
 
Method Summary
 void run()
          run tasklet.
 
Methods inherited from class net.eduvax.grant.core.AbstractTasklet
getCr, setContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEF_DELAY

public static final int DEF_DELAY
default delay (millisec).

See Also:
Constant Field Values

SEC_UNIT

public static final int SEC_UNIT
one second is 1000 milliseconds.

See Also:
Constant Field Values
Constructor Detail

TestTasklet

public TestTasklet()
Create new test tasklet.

Parameters:
params - arguments
Method Detail

run

public void run()
run tasklet.