Package oracle.iam.scheduler.vo
Class JobDetails
java.lang.Object
oracle.iam.scheduler.vo.JobDetails
- All Implemented Interfaces:
Serializable
This value object contains all the information about a Scheduled Job. i.e.
Job Name, Task Name and Corresponding Java class name of the task, Last
Modification date, Retry Count, Job Listener, Parameters, Parameter Types,
Concurrency status TRUE if job is concurrent otherwise FALSE, Job schedule
type, Attributes
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs aJobDetails
object.JobDetails
(String name, Class jobClass, String method, HashMap<String, JobParameter> params, Class[] paramTypes) Constructs aJobDetails
object.JobDetails
(String name, Class jobClass, HashMap<String, JobParameter> attributes) Constructs aJobDetails
object.JobDetails
(ScheduledTask task, String jobName, HashMap<String, JobParameter> params) Constructs aJobDetails
object. -
Method Summary
Modifier and TypeMethodDescriptionProvides a map containing schedule job parameter name and parameter value object.Provides schedule job's cron schedule types.This method is used to get EmailConfigVo valuesProvides schedule job listener.Provides Schedule job's scheduling type.Provides the last modification date of schedule job.Provides the method name to be called in schedule task implementation class while executing schedule job.getName()
Provides Schedule job name.Provides a map containing schedule job parameter name and parameter value object.Class[]
Provides Schedule job parameter types.int
Provides Schedule job retry count.Provides the schedule task implementation class object.Provides schedule task implementation class name.Provides schedule task key in OIM repository.Provides Schedule task name.boolean
Provides concurrency flag.boolean
Provides Schedule job status.void
setAttributes
(HashMap<String, JobParameter> params) Sets map containing schedule job parameter name and parameter value object.void
setConcurrent
(boolean concurrent) Sets the concurrency flag TRUE if job is concurrent otherwise FALSEvoid
setConcurrent
(String concurrent) Sets the concurrency flag TRUE if job is concurrent otherwise FALSEvoid
setCronScheduleType
(String cronScheduleType) Sets schedule job's cron schedule types.void
setEmailConfig
(EmailConfig emailConfig) This method is used to set EmailConfigVOvoid
setJobListener
(String jobListener) Sets schedule job listener.void
setJobScheduleType
(String jobScheduleType) Sets Schedule job's scheduling type.void
setLastModifyDate
(Date lastModifyDate) Sets last modification date of schedule job.void
Sets method name to be called in schedule task implementation class while executing schedule jobvoid
Sets schedule job name.void
setParams
(HashMap<String, JobParameter> params) Sets map containing schedule job parameter name and parameter value object.void
setParamTypes
(Class[] paramTypes) Sets Schedule job parameter types.void
setRetrycount
(int retrycount) Sets Schedule job retry count.void
setRetrycount
(Long retrycount) Sets Schedule job retry count.void
setTaskClass
(Class taskClass) Sets schedule task implementation class object.void
setTaskClass
(String taskClass) Sets schedule task implementation class name.void
setTaskClassName
(String taskClassName) Sets schedule task implementation class name.void
setTaskKey
(String taskKey) Sets schedule task key in OIM repository.void
setTaskName
(String jobName) Sets schedule task name.void
setTaskStatus
(boolean taskStatus) Sets Schedule job status.
-
Constructor Details
-
JobDetails
Constructs aJobDetails
object.- Parameters:
task
- Schedule task object containing schedule task information e.g. Schedule task name, task class name, task retry countjobName
- Job Nameparams
- Map of schedule job parameter name and value object
-
JobDetails
Constructs aJobDetails
object.- Parameters:
name
- Job NamejobClass
- Schedule task implementation class objectattributes
- Map of schedule job parameter name and value object
-
JobDetails
public JobDetails(String name, Class jobClass, String method, HashMap<String, JobParameter> params, Class[] paramTypes) Constructs aJobDetails
object.- Parameters:
name
- job NamejobClass
- Schedule task implementation class namemethod
- Method name to be called in schedule task implementation class while executing schedule jobparams
- Map of schedule job parameter name and value objectparamTypes
- Schedule job parameters types
-
JobDetails
public JobDetails()Constructs aJobDetails
object.
-
-
Method Details
-
getTaskClass
Provides the schedule task implementation class object.- Returns:
- Schedule task implementation class object
-
getMethod
Provides the method name to be called in schedule task implementation class while executing schedule job.- Returns:
- Method name to be called in schedule task implementation class while executing schedule job
-
getName
Provides Schedule job name.- Returns:
- Schedule job name
-
setConcurrent
public void setConcurrent(boolean concurrent) Sets the concurrency flag TRUE if job is concurrent otherwise FALSE- Parameters:
concurrent
- concurrency flag
-
setConcurrent
Sets the concurrency flag TRUE if job is concurrent otherwise FALSE- Parameters:
concurrent
- concurrency flag string
-
isConcurrent
public boolean isConcurrent()Provides concurrency flag. TRUE if job is concurrent otherwise FALSE.- Returns:
- concurrency flag
-
getParams
Provides a map containing schedule job parameter name and parameter value object.- Returns:
- Map containing schedule job parameter name and parameter value object
-
getParamTypes
Provides Schedule job parameter types. Supported types are String, Boolean, Number.- Returns:
- Schedule job parameter types
-
getAttributes
Provides a map containing schedule job parameter name and parameter value object.- Returns:
- Map containing schedule job parameter name and parameter value object
-
setName
Sets schedule job name.- Parameters:
name
- Schedule job name
-
setTaskClass
Sets schedule task implementation class object.- Parameters:
taskClass
- Schedule task implementation class object
-
setTaskClass
Sets schedule task implementation class name.- Parameters:
taskClass
- Schedule task implementation class name
-
setMethod
Sets method name to be called in schedule task implementation class while executing schedule job- Parameters:
method
- Method name to be called in schedule task implementation class while executing schedule job
-
setParams
Sets map containing schedule job parameter name and parameter value object.- Parameters:
params
- Map containing schedule job parameter name and parameter value object
-
setAttributes
Sets map containing schedule job parameter name and parameter value object.- Parameters:
params
- map containing schedule job parameter name and parameter value object
-
setParamTypes
Sets Schedule job parameter types. Supported types are String, Boolean, Number.- Parameters:
paramTypes
- Schedule job parameter types
-
getTaskClassName
Provides schedule task implementation class name.- Returns:
- Schedule task implementation class name
-
setTaskClassName
Sets schedule task implementation class name.- Parameters:
taskClassName
- Schedule task implementation class name
-
getRetrycount
public int getRetrycount()Provides Schedule job retry count.- Returns:
- Schedule job retry count
-
setRetrycount
public void setRetrycount(int retrycount) Sets Schedule job retry count.- Parameters:
retrycount
- Schedule job retry count
-
setRetrycount
Sets Schedule job retry count.- Parameters:
retrycount
- Schedule job retry count
-
getTaskName
Provides Schedule task name.- Returns:
- Schedule task name
-
setTaskName
Sets schedule task name.- Parameters:
jobName
- Schedule task name
-
isTaskStatus
public boolean isTaskStatus()Provides Schedule job status. Job status is TRUE if enabled and FALSE if disabled.- Returns:
- Schedule Job status.
-
setTaskStatus
public void setTaskStatus(boolean taskStatus) Sets Schedule job status. Job status is TRUE if enabled and FALSE if disabled.- Parameters:
taskStatus
- Schedule job status
-
getLastModifyDate
Provides the last modification date of schedule job.- Returns:
- Last modification date of schedule job
-
setLastModifyDate
Sets last modification date of schedule job.- Parameters:
lastModifyDate
- Last modification date of schedule job
-
getJobListener
Provides schedule job listener.- Returns:
- Schedule job listener
-
setJobListener
Sets schedule job listener.- Parameters:
jobListener
- Schedule job listener
-
getTaskKey
Provides schedule task key in OIM repository.- Returns:
- Schedule task key in OIM repository
-
setTaskKey
Sets schedule task key in OIM repository.- Parameters:
taskKey
- Schedule task key in OIM repository
-
getJobScheduleType
Provides Schedule job's scheduling type. Supported values are 'None', 'Periodic', 'Cron', 'Single'.- Returns:
- Schedule job's scheduling type
-
setJobScheduleType
Sets Schedule job's scheduling type. Supported values are 'None', 'Periodic', 'Cron', 'Single'.- Parameters:
jobScheduleType
- Schedule job's scheduling type
-
getCronScheduleType
Provides schedule job's cron schedule types. Supported values are 'DAILY', 'WEEKLY', 'MONTHLY', 'MONTHLYWEEKDAYS', 'YEARLY'.- Returns:
- Schedule job's cron schedule types
-
setCronScheduleType
Sets schedule job's cron schedule types. Supported values are 'DAILY', 'WEEKLY', 'MONTHLY', 'MONTHLYWEEKDAYS', 'YEARLY'.- Parameters:
cronScheduleType
- Schedule job's cron schedule types
-
setEmailConfig
This method is used to set EmailConfigVO- Parameters:
emailConfig
-
-
getEmailConfig
This method is used to get EmailConfigVo values- Returns:
-