| Package | Description |
|---|---|
| org.cloudbees.literate.api.v1 |
| Modifier and Type | Method and Description |
|---|---|
static ExecutionEnvironment |
ExecutionEnvironment.any()
Returns an environment without labels, that is it will match all other environments.
|
| Modifier and Type | Method and Description |
|---|---|
Map<ExecutionEnvironment,List<String>> |
AbstractCommands.getCommands() |
List<ExecutionEnvironment> |
ProjectModel.getEnvironments()
Returns the (possibly empty) list of build environments.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectModel.Builder |
ProjectModel.Builder.addBuild(ExecutionEnvironment environment,
List<String> commands)
Adds the supplied build command.
|
ProjectModel.Builder |
ProjectModel.Builder.addBuild(ExecutionEnvironment environment,
String command)
Adds the supplied build command.
|
ProjectModel.Builder |
ProjectModel.Builder.addEnvironment(ExecutionEnvironment environment)
Adds the supplied environment.
|
List<String> |
ProjectModel.getBuildFor(ExecutionEnvironment environment)
Gets the matching build command.
|
List<String> |
AbstractCommands.getMatchingCommand(ExecutionEnvironment envs)
Given an environment - return us the whole script for this section, based on a "best" environmental match.
|
boolean |
ExecutionEnvironment.isMatchFor(ExecutionEnvironment environment)
Tests if this environment satisfies the requirements of the specified environment.
|
| Modifier and Type | Method and Description |
|---|---|
ProjectModel.Builder |
ProjectModel.Builder.addBuild(Map<ExecutionEnvironment,List<String>> build)
Adds the supplied build commands.
|
ProjectModel.Builder |
ProjectModel.Builder.addEnvironments(Collection<ExecutionEnvironment> environments)
Adds the supplied environments.
|
| Constructor and Description |
|---|
BuildCommands(ExecutionEnvironment environment,
List<String> commands)
Constructor.
|
BuildCommands(ExecutionEnvironment environment,
List<String> commands,
List<Parameter> parameters)
Constructor.
|
ExecutionEnvironment(ExecutionEnvironment base,
Collection<String> additionalLabels)
Constructor.
|
ExecutionEnvironment(ExecutionEnvironment base,
String... additionalLabels)
Constructor.
|
| Constructor and Description |
|---|
AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
Deprecated.
|
AbstractCommands(Map<ExecutionEnvironment,List<String>> buildCommands,
List<Parameter> parameters)
Constructor.
|
BuildCommands(Map<ExecutionEnvironment,List<String>> buildCommands)
Constructor.
|
BuildCommands(Map<ExecutionEnvironment,List<String>> buildCommands,
List<Parameter> parameters)
Constructor.
|
Copyright © 2004-2014. All Rights Reserved.