Package com.erwin.api.beans.scheduler
Class SchedulerJob
java.lang.Object
com.erwin.api.beans.scheduler.SchedulerJob
This class provides some beans control methods related to Jobs, jobName, jobType, jobState, jobOptions and auditHistory etc...
-
Constructor Summary
ConstructorsConstructorDescriptionSchedulerJob(long objectId, String objectType, String jobName, APIConstants.JOBType jobType, Date scheduledDateTime, Date lastScheduledRunDateTime, Date nextScheduledRunDateTime, APIConstants.JOBInterval interval, boolean notify, String userId, String emailId, String ccList, JobOptions jobOptions, AuditHistory auditHistory) -
Method Summary
Modifier and TypeMethodDescriptionlongbooleanisNotify()voidsetAuditHistory(AuditHistory auditHistory) voidvoidsetEmailId(String emailId) voidsetInterval(APIConstants.JOBInterval interval) voidsetJobName(String jobName) voidsetJobOptions(JobOptions jobOptions) voidsetJobState(APIConstants.JOBState jobState) voidsetJobType(APIConstants.JOBType jobType) voidsetLastScheduledRunDateTime(Date lastScheduledRunDateTime) voidsetNextScheduledRunDateTime(Date nextScheduledRunDateTime) voidsetNotify(boolean notify) voidsetObjectId(long objectId) voidsetObjectType(String objectType) voidsetScheduledDateTime(Date scheduledDateTime) void
-
Constructor Details
-
SchedulerJob
public SchedulerJob() -
SchedulerJob
public SchedulerJob(long objectId, String objectType, String jobName, APIConstants.JOBType jobType, Date scheduledDateTime, Date lastScheduledRunDateTime, Date nextScheduledRunDateTime, APIConstants.JOBInterval interval, boolean notify, String userId, String emailId, String ccList, JobOptions jobOptions, AuditHistory auditHistory)
-
-
Method Details
-
getObjectId
public long getObjectId()- Returns:
- the objectId
-
setObjectId
public void setObjectId(long objectId) - Parameters:
objectId- the objectId to set
-
getObjectType
- Returns:
- the objectType
-
setObjectType
- Parameters:
objectType- the objectType to set
-
getJobName
- Returns:
- the jobName
-
setJobName
- Parameters:
jobName- the jobName to set
-
getJobType
- Returns:
- the jobType
-
setJobType
- Parameters:
jobType- the jobType to set
-
getScheduledDateTime
- Returns:
- the scheduledDateTime
-
setScheduledDateTime
- Parameters:
scheduledDateTime- the scheduledDateTime to set
-
getLastScheduledRunDateTime
- Returns:
- the lastScheduledRunDateTime
-
setLastScheduledRunDateTime
- Parameters:
lastScheduledRunDateTime- the lastScheduledRunDateTime to set
-
getNextScheduledRunDateTime
- Returns:
- the nextScheduledRunDateTime
-
setNextScheduledRunDateTime
- Parameters:
nextScheduledRunDateTime- the nextScheduledRunDateTime to set
-
getJobState
- Returns:
- the jobState
-
setJobState
- Parameters:
jobState- the jobState to set
-
getInterval
- Returns:
- the interval
-
setInterval
- Parameters:
interval- the interval to set
-
isNotify
public boolean isNotify()- Returns:
- the notify
-
setNotify
public void setNotify(boolean notify) - Parameters:
notify- the notify to set
-
getUserId
- Returns:
- the userId
-
setUserId
- Parameters:
userId- the userId to set
-
getEmailId
- Returns:
- the emailId
-
setEmailId
- Parameters:
emailId- the emailId to set
-
getCcList
- Returns:
- the ccList
-
setCcList
- Parameters:
ccList- the ccList to set with , seperated email ids
-
getJobOptions
- Returns:
- the jobOptions
-
setJobOptions
- Parameters:
jobOptions- the jobOptions to set
-
getAuditHistory
- Returns:
- the auditHistory
-
setAuditHistory
- Parameters:
auditHistory- the auditHistory to set
-