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