@Immutable public abstract class AbstractCommands extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ExecutionEnvironment,List<String>> |
getCommands() |
List<String> |
getMatchingCommand(ExecutionEnvironment envs)
Given an environment - return us the whole script for this section, based on a "best" environmental match.
|
static List<String> |
join(List<String> cmd1,
List<String> cmd2) |
protected AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
buildCommands - a map of environments to build commands, as each environment may have separate build
commands.public List<String> getMatchingCommand(ExecutionEnvironment envs)
public Map<ExecutionEnvironment,List<String>> getCommands()
Copyright © 2004-2014. All Rights Reserved.