public class JobEntryNonPersistent extends AbstractJobEntry
TurbineNonPersistentSchedulerServiceAbstractJobEntry.ScheduleTypelog| Constructor and Description |
|---|
JobEntryNonPersistent()
Default constructor
|
JobEntryNonPersistent(int sec,
int min,
int hour,
int wd,
int day_mo,
String task)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getDayOfMonth()
Get the value of dayOfMonth.
|
int |
getHour()
Get the value of hour.
|
int |
getJobId()
Get the value of jobId.
|
int |
getMinute()
Get the value of minute.
|
int |
getSecond()
Get the value of second.
|
String |
getTask()
Get the value of task.
|
int |
getWeekDay()
Get the value of weekDay.
|
int |
hashCode() |
boolean |
isNew()
Return true, if the entry is not yet persisted
|
void |
setDayOfMonth(int v)
Set the value of dayOfMonth.
|
void |
setHour(int v)
Set the value of hour.
|
void |
setJobId(int v)
Set the value of jobId.
|
void |
setMinute(int v)
Set the value of minute.
|
void |
setSecond(int v)
Set the value of second.
|
void |
setTask(String v)
Set the value of task.
|
void |
setWeekDay(int v)
Set the value of weekDay.
|
calcRunTime, compareTo, getNextRunAsString, getNextRunDate, getNextRuntime, isActive, setActivepublic JobEntryNonPersistent()
public JobEntryNonPersistent(int sec, int min, int hour, int wd, int day_mo, String task) throws TurbineException
sec - Value for entry "seconds".min - Value for entry "minutes".hour - Value for entry "hours".wd - Value for entry "week days".day_mo - Value for entry "month days".task - Task to execute.TurbineException - a generic exception.public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public boolean isNew()
public int getJobId()
getJobId in interface JobEntrygetJobId in class AbstractJobEntrypublic void setJobId(int v)
setJobId in interface JobEntrysetJobId in class AbstractJobEntryv - new valuepublic int getSecond()
getSecond in class AbstractJobEntrypublic void setSecond(int v)
setSecond in class AbstractJobEntryv - new valuepublic int getMinute()
getMinute in class AbstractJobEntrypublic void setMinute(int v)
setMinute in class AbstractJobEntryv - new valuepublic int getHour()
getHour in class AbstractJobEntrypublic void setHour(int v)
setHour in class AbstractJobEntryv - new valuepublic int getWeekDay()
getWeekDay in class AbstractJobEntrypublic void setWeekDay(int v)
setWeekDay in class AbstractJobEntryv - new valuepublic int getDayOfMonth()
getDayOfMonth in class AbstractJobEntrypublic void setDayOfMonth(int v)
setDayOfMonth in class AbstractJobEntryv - new valuepublic String getTask()
getTask in interface JobEntrygetTask in class AbstractJobEntryCopyright © 2000-2015 The Apache Software Foundation. All Rights Reserved.