public interface RamlStyleChecker
| 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.
|
Set<StyleIssue> checkParameterStyle(String name, RamlAbstractParam param)
name - The parameter name to be checkedparam - The Parameter from the RAML ModelSet<StyleIssue> checkActionStyle(RamlActionType key, RamlAction value, IssueLocation location, RamlRoot raml)
key - The action's verbvalue - The Action from the RAML modellocation - The location where the issue (if any) liesraml - The Raml Document being checkedSet<StyleIssue> checkResourceStyle(String name, RamlResource resource, IssueLocation location, RamlRoot raml)
name - 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.