Package com.dtolabs.rundeck.plugins.jobs
Interface ExecutionLifecyclePlugin
-
- All Superinterfaces:
ExecutionLifecycleComponent
public interface ExecutionLifecyclePlugin extends ExecutionLifecycleComponent
ExecutionLifecyclePlugin interface for a task to be executed during the job execution life cycle Created by rnavarro Date: 9/04/19 Time: 01:32 PM
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default ExecutionLifecycleStatusafterJobEnds(JobExecutionEvent event)It triggers when a job endsdefault ExecutionLifecycleStatusbeforeJobStarts(JobExecutionEvent event)It triggers before the job starts
-
-
-
Method Detail
-
beforeJobStarts
default ExecutionLifecycleStatus beforeJobStarts(JobExecutionEvent event) throws ExecutionLifecyclePluginException
It triggers before the job starts- Specified by:
beforeJobStartsin interfaceExecutionLifecycleComponent- Parameters:
event- event execution data- Returns:
- JobEventStatus
- Throws:
ExecutionLifecyclePluginException
-
afterJobEnds
default ExecutionLifecycleStatus afterJobEnds(JobExecutionEvent event) throws ExecutionLifecyclePluginException
It triggers when a job ends- Specified by:
afterJobEndsin interfaceExecutionLifecycleComponent- Parameters:
event- event execution data- Returns:
- JobEventStatus
- Throws:
ExecutionLifecyclePluginException
-
-