Skip navigation links
oracle.iam.scheduler.vo
Class TaskSupport
java.lang.Object
oracle.iam.scheduler.vo.TaskSupport
- All Implemented Interfaces:
- StoppableTask, oracle.iam.scheduler.vo.Task
- Direct Known Subclasses:
- com.thortech.xl.scheduler.tasks.SchedulerBaseTask
-
public abstract class TaskSupport
- extends java.lang.Object
- implements StoppableTask
This is a base class for each schedule task implementation class.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface oracle.iam.scheduler.vo.Task |
execute, getAttributes, setAttributes |
TaskSupport
public TaskSupport()
isJobSuccess
public boolean isJobSuccess()
-
- Specified by:
isJobSuccess
in interface oracle.iam.scheduler.vo.Task
getTaskName
public java.lang.String getTaskName()
-
- Specified by:
getTaskName
in interface oracle.iam.scheduler.vo.Task
setTaskName
public void setTaskName(java.lang.String taskName)
-
- Specified by:
setTaskName
in interface oracle.iam.scheduler.vo.Task
getName
public java.lang.String getName()
-
- Specified by:
getName
in interface oracle.iam.scheduler.vo.Task
getImplementation
public java.lang.String getImplementation()
-
- Specified by:
getImplementation
in interface oracle.iam.scheduler.vo.Task
setName
public void setName(java.lang.String name)
-
- Specified by:
setName
in interface oracle.iam.scheduler.vo.Task
setImplementation
public void setImplementation(java.lang.String implementation)
-
- Specified by:
setImplementation
in interface oracle.iam.scheduler.vo.Task
stop
public boolean stop()
- Description copied from interface:
StoppableTask
- This method is used to stop a schedule task. if schedule task is stopped without any error than return TRUE else FALSE.
-
- Specified by:
stop
in interface StoppableTask
-
- Returns:
- TRUE if schedule task is stopped otherwise FALSE
isStop
public boolean isStop()
- Provides a flag indicating whether a schedule job is stopped or not. 'TRUE' if job is stopped otherwise 'FALSE'.
-
- Returns:
- Flag indicating whether a schedule job is stopped or not.
getId
public java.lang.String getId()
-
- Specified by:
getId
in interface oracle.iam.scheduler.vo.Task
executeJob
public final void executeJob(java.util.HashMap attributes)
throws java.lang.Exception
-
- Specified by:
executeJob
in interface oracle.iam.scheduler.vo.Task
-
- Throws:
java.lang.Exception
Skip navigation links
Copyright © 2015, Oracle and/or its affiliates. All rights reserved.