@Immutable public abstract class AbstractCommands extends Object implements Serializable
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
Deprecated.
|
protected |
AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands,
List<Parameter> parameters)
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.
|
Map<String,Parameter> |
getParameters() |
static List<String> |
join(List<String> cmd1,
List<String> cmd2) |
String |
toString() |
@Deprecated protected AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
AbstractCommands(java.util.Map, java.util.List)buildCommands - a map of environments to build commands, as each environment may have separate build
commands.@CheckForNull public static List<String> join(@CheckForNull List<String> cmd1, @CheckForNull List<String> cmd2)
public List<String> getMatchingCommand(ExecutionEnvironment envs)
public Map<ExecutionEnvironment,List<String>> getCommands()
Copyright © 2004-2014. All Rights Reserved.