Package step.core.scheduler
Class Executor
- java.lang.Object
-
- step.core.scheduler.Executor
-
public class Executor extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
EXECUTION_ID
protected static java.lang.String
EXECUTION_PARAMETERS
protected static java.lang.String
EXECUTION_TASK_ID
-
Constructor Summary
Constructors Constructor Description Executor()
Executor(GlobalContext globalContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
deleteSchedule(ExecutiontTaskParameters task)
java.lang.String
execute(ExecutionParameters executionParameters)
java.lang.String
execute(ExecutiontTaskParameters executionTaskParameters)
java.util.List<ExecutionContext>
getCurrentExecutions()
java.util.List<ExecutiontTaskParameters>
getScheduledExecutions()
boolean
schedule(ExecutiontTaskParameters task)
void
shutdown()
void
start()
void
validate(ExecutiontTaskParameters task)
-
-
-
Field Detail
-
EXECUTION_PARAMETERS
protected static final java.lang.String EXECUTION_PARAMETERS
- See Also:
- Constant Field Values
-
EXECUTION_ID
protected static final java.lang.String EXECUTION_ID
- See Also:
- Constant Field Values
-
EXECUTION_TASK_ID
protected static final java.lang.String EXECUTION_TASK_ID
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Executor
public Executor(GlobalContext globalContext)
-
Executor
public Executor()
-
-
Method Detail
-
shutdown
public void shutdown()
-
start
public void start()
-
deleteSchedule
public void deleteSchedule(ExecutiontTaskParameters task)
-
validate
public void validate(ExecutiontTaskParameters task)
-
schedule
public boolean schedule(ExecutiontTaskParameters task)
-
execute
public java.lang.String execute(ExecutionParameters executionParameters)
-
execute
public java.lang.String execute(ExecutiontTaskParameters executionTaskParameters)
-
getCurrentExecutions
public java.util.List<ExecutionContext> getCurrentExecutions()
-
getScheduledExecutions
public java.util.List<ExecutiontTaskParameters> getScheduledExecutions()
-
-