cz.cuni.amis.utils
Class Run.TimerTaskExt

Package class diagram package Run.TimerTaskExt
java.lang.Object
  extended by java.util.TimerTask
      extended by cz.cuni.amis.utils.Run.TimerTaskExt
All Implemented Interfaces:
Runnable
Enclosing class:
Run

public static class Run.TimerTaskExt
extends TimerTask


Constructor Summary
Run.TimerTaskExt(String name, Runnable runnable)
           
 
Method Summary
 boolean cancel()
           
 Throwable getException()
           
 String getName()
           
 Run.TimerTaskState getState()
           
 boolean isCancelled()
           
 boolean isException()
           
 boolean isRunning()
           
 boolean isScheduled()
           
 boolean isState(Run.TimerTaskState state)
           
 boolean isSuccess()
           
 void run()
           
 
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Run.TimerTaskExt

public Run.TimerTaskExt(String name,
                        Runnable runnable)
Method Detail

getName

public String getName()

run

public void run()
Specified by:
run in interface Runnable
Specified by:
run in class TimerTask

getState

public Run.TimerTaskState getState()

getException

public Throwable getException()

isState

public boolean isState(Run.TimerTaskState state)

isScheduled

public boolean isScheduled()

isRunning

public boolean isRunning()

isSuccess

public boolean isSuccess()

isException

public boolean isException()

isCancelled

public boolean isCancelled()

cancel

public boolean cancel()
Overrides:
cancel in class TimerTask


Copyright © 2015 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All Rights Reserved.