public class RamlStyleCheckerAdapter extends Object implements RamlStyleChecker
| Constructor and Description |
|---|
RamlStyleCheckerAdapter() |
| Modifier and Type | Method and Description |
|---|---|
Set<StyleIssue> |
checkActionStyle(RamlActionType key,
RamlAction value,
IssueLocation location,
RamlRoot raml)
Check the style of a particular action
|
Set<StyleIssue> |
checkParameterStyle(String name,
RamlAbstractParam param)
Check the style of a particular parameter
|
Set<StyleIssue> |
checkResourceStyle(String name,
RamlResource resource,
IssueLocation location,
RamlRoot raml)
Check the style of a particular resource.
|
public Set<StyleIssue> checkParameterStyle(String name, RamlAbstractParam param)
RamlStyleCheckercheckParameterStyle in interface RamlStyleCheckername - The parameter name to be checkedparam - The Parameter from the RAML Modelpublic Set<StyleIssue> checkActionStyle(RamlActionType key, RamlAction value, IssueLocation location, RamlRoot raml)
RamlStyleCheckercheckActionStyle in interface RamlStyleCheckerkey - The action's verbvalue - The Action from the RAML modellocation - The location where the issue (if any) liesraml - The Raml Document being checkedpublic Set<StyleIssue> checkResourceStyle(String name, RamlResource resource, IssueLocation location, RamlRoot raml)
RamlStyleCheckercheckResourceStyle in interface RamlStyleCheckername - 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.