public class ResourceUrlStyleChecker extends RamlStyleCheckerAdapter
| Modifier and Type | Field and Description |
|---|---|
static String |
CAPITALISED_RESOURCE |
protected static org.slf4j.Logger |
logger
Class Logger
|
static String |
SPECIAL_CHARS_IN_URL |
| Constructor and Description |
|---|
ResourceUrlStyleChecker() |
| Modifier and Type | Method and Description |
|---|---|
Set<StyleIssue> |
checkResourceStyle(String name,
RamlResource resource,
IssueLocation location,
RamlRoot raml)
Check the style of a particular resource.
|
checkActionStyle, checkParameterStyleprotected static final org.slf4j.Logger logger
public static String SPECIAL_CHARS_IN_URL
public static String CAPITALISED_RESOURCE
public Set<StyleIssue> checkResourceStyle(String name, RamlResource resource, IssueLocation location, RamlRoot raml)
RamlStyleCheckercheckResourceStyle in interface RamlStyleCheckercheckResourceStyle in class RamlStyleCheckerAdaptername - The name of the resource (relative URL)resource - The Resource from the RAML modellocation - The location where the issue (if any) liesraml - The Raml Document being checkedCopyright © 2017. All rights reserved.