Class Schedule
java.lang.Object
com.swiftmq.impl.scheduler.standard.Schedule
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AtSchedule
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
getName()
getNextJobStart
(int lastStartTime, Calendar cal, Map calendars) protected abstract int
getNextStart
(int lastStartTime, Calendar cal) protected int
getTimeOfTheDay
(Calendar cal) boolean
hasCalendarRef
(String calendarName, Map calendars) protected abstract boolean
boolean
boolean
void
setCalendar
(String calendar) void
setDateFrom
(String dateFrom) void
void
setEnabled
(boolean enabled) void
setLoggingEnabled
(boolean loggingEnabled) void
setMaxRuntime
(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
-