Package com.dtolabs.rundeck.core.jobs
Interface ExecutionLifecycleComponent
-
- All Known Subinterfaces:
ExecutionLifecyclePlugin
public interface ExecutionLifecycleComponent
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutionLifecycleStatus
afterJobEnds(JobExecutionEvent event)
It triggers when a job endsExecutionLifecycleStatus
beforeJobStarts(JobExecutionEvent event)
It triggers before the job starts
-
-
-
Method Detail
-
beforeJobStarts
ExecutionLifecycleStatus beforeJobStarts(JobExecutionEvent event) throws ExecutionLifecycleComponentException
It triggers before the job starts- Parameters:
event
- event execution data- Returns:
- JobEventStatus
- Throws:
ExecutionLifecycleComponentException
-
afterJobEnds
ExecutionLifecycleStatus afterJobEnds(JobExecutionEvent event) throws ExecutionLifecycleComponentException
It triggers when a job ends- Parameters:
event
- event execution data- Returns:
- JobEventStatus
- Throws:
ExecutionLifecycleComponentException
-
-