org.apache.axis2.deployment.scheduler
Class SchedulerTask

java.lang.Object
  extended byorg.apache.axis2.deployment.scheduler.SchedulerTask
All Implemented Interfaces:
java.lang.Runnable

public class SchedulerTask
extends java.lang.Object
implements java.lang.Runnable


Constructor Summary
SchedulerTask(DeploymentEngine deploy_engine, java.lang.String folderName)
          Creates a new scheduler task.
 
Method Summary
 boolean cancel()
          Cancels this scheduler task.
 void run()
          The action to be performed by this scheduler task.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SchedulerTask

public SchedulerTask(DeploymentEngine deploy_engine,
                     java.lang.String folderName)
Creates a new scheduler task.

Method Detail

run

public void run()
The action to be performed by this scheduler task.

Specified by:
run in interface java.lang.Runnable

cancel

public boolean cancel()
Cancels this scheduler task.

This method may be called repeatedly; the second and subsequent calls have no effect.

Returns:
true if this task was already scheduled to run