Package tsl2.nano.cursus.persistence
Class ETimer
java.lang.Object
tsl2.nano.cursus.Timer
tsl2.nano.cursus.persistence.ETimer
- All Implemented Interfaces:
de.tsl2.nano.service.util.IPersistable<String>,Serializable
- See Also:
-
Field Summary
Fields inherited from class tsl2.nano.cursus.Timer
from, stepExceptions, stepLength, stepType, subTimers, until -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()getId()intintgetUntil()booleanvoidvoidsetGenerator(boolean isGenerator) voidvoidsetStepLength(int stepLength) voidsetStepType(int stepType) void
-
Constructor Details
-
ETimer
public ETimer() -
ETimer
-
ETimer
-
-
Method Details
-
getId
- Specified by:
getIdin interfacede.tsl2.nano.service.util.IPersistable<String>
-
setId
- Specified by:
setIdin interfacede.tsl2.nano.service.util.IPersistable<String>
-
getFrom
-
setFrom
-
getUntil
-
setUntil
-
getStepType
public int getStepType() -
setStepType
public void setStepType(int stepType) -
getStepLength
public int getStepLength() -
setStepLength
public void setStepLength(int stepLength) -
isGenerator
public boolean isGenerator()- Overrides:
isGeneratorin classTimer- Returns:
- true, if a step-length was defined, to it can
Timer.runThrough(Date, Date)
-
setGenerator
public void setGenerator(boolean isGenerator)
-