| Package | Description |
|---|---|
| com.microsoft.jenkins.azurecommons.command |
| Modifier and Type | Method and Description |
|---|---|
static CommandService.Builder |
CommandService.builder() |
CommandService.Builder |
CommandService.Builder.withCleanUpCommand(Class<? extends ICommand<? extends IBaseCommandData>> command)
Register an optional clean up command that will be executed when the all the normal commands finish
execution, regardless of the termination state of the last command.
|
CommandService.Builder |
CommandService.Builder.withSingleCommand(Class<? extends ICommand<? extends IBaseCommandData>> command)
Register a single command that may be used by other transitions.
|
CommandService.Builder |
CommandService.Builder.withStartCommand(Class<? extends ICommand<? extends IBaseCommandData>> command)
Register the start command.
|
CommandService.Builder |
CommandService.Builder.withTransition(Class<? extends ICommand<? extends IBaseCommandData>> current,
Class<? extends ICommand<? extends IBaseCommandData>> next)
Register a transition from current command to the next command if current command is executed without error.
|
Copyright © 2016–2018. All rights reserved.