@Immutable public class BuildCommands extends AbstractCommands
| Constructor and Description |
|---|
BuildCommands(ExecutionEnvironment environment,
List<String> commands)
Constructor.
|
BuildCommands(ExecutionEnvironment environment,
List<String> commands,
List<Parameter> parameters)
Constructor.
|
BuildCommands(List<String> commands)
Constructor.
|
BuildCommands(List<String> commands,
List<Parameter> parameters)
Constructor.
|
BuildCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
Constructor.
|
BuildCommands(Map<ExecutionEnvironment,List<String>> buildCommands,
List<Parameter> parameters)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static BuildCommands |
merge(BuildCommands cmd1,
BuildCommands cmd2)
Merges two build commands.
|
getCommands, getMatchingCommand, getParameters, join, toStringpublic BuildCommands(List<String> commands)
commands - the build commands.public BuildCommands(ExecutionEnvironment environment, List<String> commands)
environment - the environment that the command required.commands - the build command.public BuildCommands(List<String> commands, List<Parameter> parameters)
commands - the build commands.parameters - the parameters.public BuildCommands(ExecutionEnvironment environment, List<String> commands, List<Parameter> parameters)
environment - the environment that the command required.commands - the build command.parameters - the parameters.public BuildCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
buildCommands - a map of environments to build commands, as each environment may have separate build
commands.public static BuildCommands merge(BuildCommands cmd1, BuildCommands cmd2)
cmd1 - the first.cmd2 - the second.Copyright © 2004-2014. All Rights Reserved.