Package com.dtolabs.rundeck.core.jobs
Interface JobLifecycleComponent
-
- All Known Subinterfaces:
JobLifecyclePlugin
public interface JobLifecycleComponent
A 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 JobLifecycleStatus
beforeJobExecution(JobPreExecutionEvent event)
It triggers before the job execution context existJobLifecycleStatus
beforeSaveJob(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
-
-