Class Schedule
java.lang.Object
com.swiftmq.impl.scheduler.standard.Schedule
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AtSchedule
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlonggetName()getNextJobStart(int lastStartTime, Calendar cal, Map calendars) protected abstract intgetNextStart(int lastStartTime, Calendar cal) protected intgetTimeOfTheDay(Calendar cal) booleanhasCalendarRef(String calendarName, Map calendars) protected abstract booleanbooleanbooleanvoidsetCalendar(String calendar) voidsetDateFrom(String dateFrom) voidvoidsetEnabled(boolean enabled) voidsetLoggingEnabled(boolean loggingEnabled) voidsetMaxRuntime(long maxRuntime) toString()
-
Constructor Details
-
Schedule
-
-
Method Details
-
getName
-
isEnabled
public boolean isEnabled() -
setEnabled
public void setEnabled(boolean enabled) -
isLoggingEnabled
public boolean isLoggingEnabled() -
setLoggingEnabled
public void setLoggingEnabled(boolean loggingEnabled) -
getCalendar
-
setCalendar
-
getJobGroup
-
getJobName
-
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getMaxRuntime
public long getMaxRuntime() -
setMaxRuntime
public void setMaxRuntime(long maxRuntime) -
getTimeExpression
-
getParameters
-
createCopy
- Throws:
Exception
-
getTimeOfTheDay
-
isApplySystemTimeChange
protected abstract boolean isApplySystemTimeChange() -
getNextStart
-
getNextJobStart
- Throws:
Exception
-
hasCalendarRef
-
toString
-