Class RunningTime
- java.lang.Object
-
- org.dreambot.api.script.schedule.conditions.RunningTime
-
- All Implemented Interfaces:
StopCondition
public class RunningTime extends java.lang.Object implements StopCondition
-
-
Constructor Summary
Constructors Constructor Description RunningTime()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getMaximumRunningTime()
java.lang.String
getMinimumRunningTime()
void
reset()
void
setMaximumRunningTime(java.lang.String maximumRunningTime)
void
setMinimumRunningTime(java.lang.String minimumRunningTime)
boolean
shouldStop()
-
-
-
Method Detail
-
shouldStop
public boolean shouldStop()
- Specified by:
shouldStop
in interfaceStopCondition
-
reset
public void reset()
- Specified by:
reset
in interfaceStopCondition
-
setMinimumRunningTime
public void setMinimumRunningTime(java.lang.String minimumRunningTime)
-
getMinimumRunningTime
public java.lang.String getMinimumRunningTime()
-
setMaximumRunningTime
public void setMaximumRunningTime(java.lang.String maximumRunningTime)
-
getMaximumRunningTime
public java.lang.String getMaximumRunningTime()
-
-