Package step.core.scheduler
Class Executor
- java.lang.Object
-
- step.core.scheduler.Executor
-
public class Executor extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected static String
EXECUTION_ID
protected static String
EXECUTION_PARAMETERS
protected static 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)
String
execute(ExecutionParameters executionParameters)
String
execute(ExecutiontTaskParameters executionTaskParameters)
List<ExecutionContext>
getCurrentExecutions()
List<ExecutiontTaskParameters>
getScheduledExecutions()
boolean
schedule(ExecutiontTaskParameters task)
void
shutdown()
void
start()
void
validate(ExecutiontTaskParameters task)
-
-
-
Field Detail
-
EXECUTION_PARAMETERS
protected static final String EXECUTION_PARAMETERS
- See Also:
- Constant Field Values
-
EXECUTION_ID
protected static final String EXECUTION_ID
- See Also:
- Constant Field Values
-
EXECUTION_TASK_ID
protected static final 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 String execute(ExecutionParameters executionParameters)
-
execute
public String execute(ExecutiontTaskParameters executionTaskParameters)
-
getCurrentExecutions
public List<ExecutionContext> getCurrentExecutions()
-
getScheduledExecutions
public List<ExecutiontTaskParameters> getScheduledExecutions()
-
-