Package org.pentaho.di.ui.spoon.trans
Class DelayTimer
- java.lang.Object
-
- org.pentaho.di.ui.spoon.trans.DelayTimer
-
-
Constructor Summary
Constructors Constructor Description DelayTimer(int delayInMiliseconds)DelayTimer(int delayInMilliseconds, DelayListener delayListener)DelayTimer(int delayInMilliseconds, DelayListener delayListener, Callable<Boolean> prolonger)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddDelayListener(DelayListener delayListener)intgetDelayInMilliseconds()voidreset()voidrun()voidsetDelayInSeconds(int delayInMilliseconds)voidstop()
-
-
-
Constructor Detail
-
DelayTimer
public DelayTimer(int delayInMiliseconds)
-
DelayTimer
public DelayTimer(int delayInMilliseconds, DelayListener delayListener)
-
DelayTimer
public DelayTimer(int delayInMilliseconds, DelayListener delayListener, Callable<Boolean> prolonger)
-
-
Method Detail
-
reset
public void reset()
-
stop
public void stop()
-
addDelayListener
public void addDelayListener(DelayListener delayListener)
-
getDelayInMilliseconds
public int getDelayInMilliseconds()
- Returns:
- the delay in milliseconds
-
setDelayInSeconds
public void setDelayInSeconds(int delayInMilliseconds)
- Parameters:
delayInMilliseconds- the delay in milliseconds to set
-
-