public class MarkdownProjectModelBuilder extends Object implements ProjectModelBuilder
ProjectModelBuilder that uses a Markdown file as the source of its ProjectModel| Modifier and Type | Class and Description |
|---|---|
static class |
MarkdownProjectModelBuilder.StringContainsIgnoreCase |
ProjectModelBuilder.Priority, ProjectModelBuilder.PriorityComparator| Constructor and Description |
|---|
MarkdownProjectModelBuilder() |
| Modifier and Type | Method and Description |
|---|---|
static org.pegdown.ast.HeaderNode |
asHeaderNode(org.pegdown.ast.Node node) |
ProjectModel |
build(ProjectModelRequest request)
Tries to build a
ProjectModel from the supplied ProjectModelRequest |
static String |
getText(org.pegdown.ast.Node node) |
Collection<String> |
markerFiles(String basename)
Returns the marker filename(s) that the model builder supports based on the supplied basename.
|
public static String getText(org.pegdown.ast.Node node)
public static org.pegdown.ast.HeaderNode asHeaderNode(org.pegdown.ast.Node node)
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.