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