public class YamlProjectModelBuilder extends Object implements ProjectModelBuilder
ProjectModelBuilder that uses a YAML file as the source of its ProjectModelProjectModelBuilder.Priority, ProjectModelBuilder.PriorityComparator| Constructor and Description |
|---|
YamlProjectModelBuilder() |
| Modifier and Type | Method and Description |
|---|---|
ProjectModel |
build(ProjectModelRequest request)
Tries to build a
ProjectModel from the supplied ProjectModelRequest |
Collection<String> |
markerFiles(String basename)
Returns the marker filename(s) that the model builder supports based on the supplied basename.
|
public ProjectModel build(ProjectModelRequest request) throws IOException, ProjectModelBuildingException
ProjectModel from the supplied ProjectModelRequestbuild in interface ProjectModelBuilderrequest - the request.IOException - if things go wrong.ProjectModelBuildingException - if the source repository does not yield a valid model.@NonNull public Collection<String> markerFiles(@NonNull String basename)
ProjectModelBuilder.build(org.cloudbees.literate.api.v1.ProjectModelRequest) against.markerFiles in interface ProjectModelBuilderbasename - the ProjectModelRequest.getBaseName()Copyright © 2004-2014. All Rights Reserved.