Package com.dtolabs.rundeck.core.jobs
Interface JobLifecycleComponent
-
- All Known Subinterfaces:
JobLifecyclePlugin
public interface JobLifecycleComponentA Job LifeCycle Components allow independent components and plugins to intervene and modify a job behavior through various phases of its lifecycle.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JobLifecycleStatusbeforeJobExecution(JobPreExecutionEvent event)It triggers before the job execution context existJobLifecycleStatusbeforeSaveJob(JobPersistEvent event)It triggers when a job is persisted
-
-
-
Method Detail
-
beforeJobExecution
JobLifecycleStatus beforeJobExecution(JobPreExecutionEvent event) throws JobLifecycleComponentException
It triggers before the job execution context exist- Parameters:
event- event execution data- Returns:
- JobEventStatus
- Throws:
JobLifecycleComponentException
-
beforeSaveJob
JobLifecycleStatus beforeSaveJob(JobPersistEvent event) throws JobLifecycleComponentException
It triggers when a job is persisted- Parameters:
event- event saving data- Returns:
- JobEventStatus
- Throws:
JobLifecycleComponentException
-
-