Package oracle.iam.scheduler.vo
Class ScheduledTask
java.lang.Object
oracle.iam.scheduler.vo.ScheduledTask
- All Implemented Interfaces:
Serializable
This class is Data Object corresponding to a Job's associated Task Task Name,
Task Class Name, Task Description, Task Listener, Retry Count, Parameters
- Author:
- saggarwa
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionProvides Schedule task implementation class name.Provides schedule task description text.Provides the file name containing schedule task definition.Provides MDS path in which file containing schedule task definition is seeded.getName()
Provides Schedule task name.Provides a map of schedule task parameters with parameter name as key and parameter value object as value.int
Provides schedule task retry count.Provides task listener name.void
setClassName
(String className) Sets Schedule task implementation class name.void
setDescription
(String description) Sets Schedule task description text.void
setFileName
(String fileName) Sets file name containing schedule task definition.void
setMdsPath
(String mdsPath) Sets MDS path in which file containing schedule task definition is seeded.void
Sets Schedule task name.void
setParameters
(HashMap<String, JobParameter> parameters) Sets map of schedule task parameters with parameter name as key and parameter value object as value.void
setRetryCount
(int retryCount) Sets schedule task retry count.void
setTaskListener
(String taskListener) Sets task listener name.
-
Constructor Details
-
ScheduledTask
public ScheduledTask()
-
-
Method Details
-
getFileName
Provides the file name containing schedule task definition.- Returns:
- File name containing schedule task definition
-
setFileName
Sets file name containing schedule task definition.- Parameters:
fileName
- File name containing schedule task definition
-
getMdsPath
Provides MDS path in which file containing schedule task definition is seeded.- Returns:
- MDS path in which file containing schedule task definition is seeded
-
setMdsPath
Sets MDS path in which file containing schedule task definition is seeded.- Parameters:
mdsPath
- MDS path in which file containing schedule task definition is seeded
-
getName
Provides Schedule task name.- Returns:
- Schedule task name
-
setName
Sets Schedule task name.- Parameters:
name
- Schedule task name
-
getClassName
Provides Schedule task implementation class name.- Returns:
- Schedule task implementation class name
-
setClassName
Sets Schedule task implementation class name.- Parameters:
className
- Schedule task implementation class name
-
getDescription
Provides schedule task description text.- Returns:
- Schedule task description text
-
setDescription
Sets Schedule task description text.- Parameters:
description
- Schedule task description text
-
getRetryCount
public int getRetryCount()Provides schedule task retry count.- Returns:
- Schedule task retry count
-
setRetryCount
public void setRetryCount(int retryCount) Sets schedule task retry count.- Parameters:
retryCount
- Schedule task retry count
-
getParameters
Provides a map of schedule task parameters with parameter name as key and parameter value object as value.- Returns:
- Map of schedule task parameters with parameter name as key and parameter value object as value
-
setParameters
Sets map of schedule task parameters with parameter name as key and parameter value object as value.- Parameters:
parameters
- Map of schedule task parameters with parameter name as key and parameter value object as value.
-
getTaskListener
Provides task listener name.- Returns:
- Task listener name
-
setTaskListener
Sets task listener name.- Parameters:
taskListener
- task listener name
-