public class JobEntryNonPersistent extends AbstractJobEntry
TurbineNonPersistentSchedulerService
AbstractJobEntry.ScheduleType
log
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, setActive
public 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 Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public boolean isNew()
public int getJobId()
getJobId
in interface JobEntry
getJobId
in class AbstractJobEntry
public void setJobId(int v)
setJobId
in interface JobEntry
setJobId
in class AbstractJobEntry
v
- new valuepublic int getSecond()
getSecond
in class AbstractJobEntry
public void setSecond(int v)
setSecond
in class AbstractJobEntry
v
- new valuepublic int getMinute()
getMinute
in class AbstractJobEntry
public void setMinute(int v)
setMinute
in class AbstractJobEntry
v
- new valuepublic int getHour()
getHour
in class AbstractJobEntry
public void setHour(int v)
setHour
in class AbstractJobEntry
v
- new valuepublic int getWeekDay()
getWeekDay
in class AbstractJobEntry
public void setWeekDay(int v)
setWeekDay
in class AbstractJobEntry
v
- new valuepublic int getDayOfMonth()
getDayOfMonth
in class AbstractJobEntry
public void setDayOfMonth(int v)
setDayOfMonth
in class AbstractJobEntry
v
- new valuepublic String getTask()
getTask
in interface JobEntry
getTask
in class AbstractJobEntry
Copyright © 2000–2018 The Apache Software Foundation. All rights reserved.