- AbstractCommands - Class in org.cloudbees.literate.api.v1
-
This represents an entire section of a project definition - stuff under a heading.
- AbstractCommands(Map<ExecutionEnvironment, List<String>>) - Constructor for class org.cloudbees.literate.api.v1.AbstractCommands
-
- AbstractCommands(Map<ExecutionEnvironment, List<String>>, List<Parameter>) - Constructor for class org.cloudbees.literate.api.v1.AbstractCommands
-
Constructor.
- addBuild(Map<ExecutionEnvironment, List<String>>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build commands.
- addBuild(String) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build command.
- addBuild(List<String>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build commands.
- addBuild(Set<String>, List<String>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build command.
- addBuild(Set<String>, String) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build command.
- addBuild(ExecutionEnvironment, String) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build command.
- addBuild(ExecutionEnvironment, List<String>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied build command.
- addBuildParameter(Parameter) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied parameter to the parameters of the build command.
- addBuildParameters(Parameter...) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied parameters to the parameters of the build command.
- addBuildParameters(Iterable<Parameter>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied parameters to the parameters of the build command.
- addEnvironment(ExecutionEnvironment) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied environment.
- addEnvironment(String...) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied environment.
- addEnvironments(Collection<ExecutionEnvironment>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied environments.
- addTask(String, String) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task command.
- addTask(String, List<String>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task command.
- addTask(String, TaskCommands) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task command.
- addTaskId(String) - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest.Builder
-
Adds a task id to the request.
- addTaskIds(String...) - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest.Builder
-
Adds task ids to the request.
- addTaskIds(Collection<String>) - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest.Builder
-
Adds task ids to the request.
- addTaskParameter(String, Parameter) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task parameter.
- addTaskParameters(String, Parameter...) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task parameters.
- addTaskParameters(String, Iterable<Parameter>) - Method in class org.cloudbees.literate.api.v1.ProjectModel.Builder
-
Adds the supplied task parameters.
- any() - Static method in class org.cloudbees.literate.api.v1.ExecutionEnvironment
-
Returns an environment without labels, that is it will match all other environments.
- asHeaderNode(Node) - Static method in class org.cloudbees.literate.impl.MarkdownProjectModelBuilder
-
- get(String) - Method in class org.cloudbees.literate.api.v1.vfs.FilesystemRepository
-
Returns the contents of the specified file
- get(String) - Method in interface org.cloudbees.literate.api.v1.vfs.ProjectRepository
-
Returns the contents of the specified file
- getBaseName() - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest
-
Gets the base name that the project model builder will use to detect the model.
- getBuild() - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
Returns the build commands.
- getBuildFor(String...) - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
- getBuildFor(ExecutionEnvironment) - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
Gets the matching build command.
- getBuildId() - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest
-
Gets the id of the build instructions within the source model.
- getCommand() - Method in class org.cloudbees.literate.api.v1.TaskCommands
-
Returns the command.
- getCommands() - Method in class org.cloudbees.literate.api.v1.AbstractCommands
-
- getDefaultValue() - Method in class org.cloudbees.literate.api.v1.Parameter
-
Returns an optional default value to use if no value is provided by the user or if no user is present to
provide a value.
- getDescription() - Method in class org.cloudbees.literate.api.v1.Parameter
-
Returns a human readable description of the parameter for use if prompting the user for a value.
- getEnvironments() - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
Returns the (possibly empty) list of build environments.
- getEnvironmentsId() - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest
-
Gets the id of the environments within the source model.
- getInstance(String) - Static method in class org.cloudbees.literate.api.v1.ProjectModelFormatter
-
Gets an instance from the current thread's context classloader for the specified mime type.
- getInstance(ClassLoader, String) - Static method in class org.cloudbees.literate.api.v1.ProjectModelFormatter
-
Gets an instance from the specified classloader for the specified mime type.
- getLabels() - Method in class org.cloudbees.literate.api.v1.ExecutionEnvironment
-
Returns the labels that define the environment.
- getMatchingCommand(ExecutionEnvironment) - Method in class org.cloudbees.literate.api.v1.AbstractCommands
-
Given an environment - return us the whole script for this section, based on a "best" environmental match.
- getName() - Method in class org.cloudbees.literate.api.v1.Parameter
-
Returns the name of the parameter.
- getParameters() - Method in class org.cloudbees.literate.api.v1.AbstractCommands
-
- getPaths(String) - Method in class org.cloudbees.literate.api.v1.vfs.FilesystemRepository
-
Returns the immediate child paths of the specified path.
- getPaths(String) - Method in interface org.cloudbees.literate.api.v1.vfs.ProjectRepository
-
Returns the immediate child paths of the specified path.
- getRepository() - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest
-
Returns the project repository to construct the project model from.
- getTask(String) - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
Returns the task command for the specified task id.
- getTaskIds() - Method in class org.cloudbees.literate.api.v1.ProjectModel
-
Returns the task ids of all the tasks defined in the model.
- getTaskIds() - Method in class org.cloudbees.literate.api.v1.ProjectModelRequest
-
Returns the task ids to additionally populate in the project model.
- getText(Node) - Static method in class org.cloudbees.literate.impl.MarkdownProjectModelBuilder
-
- getTextUntil(Node, Node) - Static method in class org.cloudbees.literate.impl.MarkdownProjectModelBuilder
-
- getValidValues() - Method in class org.cloudbees.literate.api.v1.Parameter
-
Returns an optional list of valid values that the parameter may take, if null then there is no
a restriction to a finite set.