Class JobTrigger
java.lang.Object
ru.bitel.oss.kernel.job.common.bean.JobTrigger
Триггер для job'a. По сути момент в будущем, когда необходимо сработать и выполнить какое-то действие.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetData()
long
long
getId()
long
getJobId()
short
getType()
long
boolean
void
void
setFireCount
(long fireCount) void
setFireTimeNext
(Date fireTimeNext) void
setFireTimePrev
(Date fireTimePrev) void
setId
(long id) void
setJobId
(long jobId) void
setPersistent
(boolean persistent) void
setTimeFrom
(Date timeFrom) void
void
setType
(short type) void
setVersion
(long version)
-
Field Details
-
TYPE_SIMPLE
public static final short TYPE_SIMPLE- See Also:
-
TYPE_CALENDAR
public static final short TYPE_CALENDAR- See Also:
-
-
Constructor Details
-
JobTrigger
public JobTrigger()
-
-
Method Details
-
getId
public long getId() -
setId
public void setId(long id) -
getJobId
public long getJobId() -
setJobId
public void setJobId(long jobId) -
getTimeFrom
-
setTimeFrom
-
getTimeTo
-
setTimeTo
-
isPersistent
public boolean isPersistent() -
setPersistent
public void setPersistent(boolean persistent) -
getType
public short getType() -
setType
public void setType(short type) -
getData
-
setData
-
getFireTimePrev
-
setFireTimePrev
-
getFireTimeNext
-
setFireTimeNext
-
getFireCount
public long getFireCount() -
setFireCount
public void setFireCount(long fireCount) -
getVersion
public long getVersion() -
setVersion
public void setVersion(long version)
-