public interface FlowRunner
Modifier and Type | Interface and Description |
---|---|
static class |
FlowRunner.Decision
Decision to be taken before and after running a task.
|
Modifier and Type | Method and Description |
---|---|
default FlowRunner.Decision |
afterTask(Options options,
ReleaserProperties properties,
ReleaserTask releaserTask)
Decide what to do after running a task.
|
default FlowRunner.Decision |
beforeTask(Options options,
ReleaserProperties properties,
ReleaserTask releaserTask)
Decide what to do before running a task.
|
ExecutionResult |
runPostReleaseTrainTasks(Options options,
ReleaserProperties properties,
String executingTaskName,
TasksToRun tasksToRun)
Runs the post release tasks.
|
ExecutionResult |
runReleaseTasks(Options options,
ReleaserProperties properties,
ProjectsToRun projectToRuns,
TasksToRun tasksToRun)
Runs the release tasks.
|
default FlowRunner.Decision beforeTask(Options options, ReleaserProperties properties, ReleaserTask releaserTask)
options
- - options prepared for the taskproperties
- - specific releaser properties for this taskreleaserTask
- - the task to rundefault FlowRunner.Decision afterTask(Options options, ReleaserProperties properties, ReleaserTask releaserTask)
options
- - options prepared for the taskproperties
- - specific releaser properties for this taskreleaserTask
- - the task to runExecutionResult runReleaseTasks(Options options, ReleaserProperties properties, ProjectsToRun projectToRuns, TasksToRun tasksToRun)
options
- - options coming from the inputproperties
- - releaser properties coming from the inputprojectToRuns
- - set of projects to run (for a single release it's simple)tasksToRun
- - set of release tasks to run for each projectExecutionResult runPostReleaseTrainTasks(Options options, ReleaserProperties properties, String executingTaskName, TasksToRun tasksToRun)
options
- - options coming from the inputproperties
- - releaser properties coming from the inputexecutingTaskName
- - name for the post release tasktasksToRun
- - set of post release tasks to run for each projectCopyright © 2020 Pivotal Software, Inc.. All rights reserved.