Package de.mhus.lib.core
Class MSoftTimerTask
- java.lang.Object
-
- java.util.TimerTask
-
- de.mhus.lib.core.MSoftTimerTask
-
-
Constructor Summary
Constructors Constructor Description MSoftTimerTask(TimerTask task)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancancel()protected voiddoit()StringgetName()booleanisCanceled()protected voidonError(Throwable t)protected voidonFinal(boolean isError)voidrun()voidsetCanceled(boolean canceled)voidsetName(String name)-
Methods inherited from class java.util.TimerTask
scheduledExecutionTime
-
-
-
-
Constructor Detail
-
MSoftTimerTask
public MSoftTimerTask(TimerTask task)
-
-
Method Detail
-
run
public final void run()
-
onError
protected void onError(Throwable t)
-
onFinal
protected void onFinal(boolean isError)
-
isCanceled
public boolean isCanceled()
-
setCanceled
public void setCanceled(boolean canceled)
-
getName
public String getName()
- Specified by:
getNamein interfacede.mhus.lib.basics.Named
-
setName
public void setName(String name)
-
-