public class RamlCheckerResourceVisitorCoordinator extends Object implements RamlChecker
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger
Class Logger
|
| Constructor and Description |
|---|
RamlCheckerResourceVisitorCoordinator(List<RamlActionVisitorCheck> actionCheckers,
List<RamlResourceVisitorCheck> resourceCheckers) |
| Modifier and Type | Method and Description |
|---|---|
static void |
addIssue(Set<Issue> errors,
Set<Issue> warnings,
Issue issue,
String logDescription)
Adds an issue to the respective set according to issue severity and logs at the appropriate log level
|
Pair<Set<Issue>,Set<Issue>> |
check(RamlRoot published,
RamlRoot implemented)
Performs a specific check across two Raml Models.
|
public RamlCheckerResourceVisitorCoordinator(List<RamlActionVisitorCheck> actionCheckers, List<RamlResourceVisitorCheck> resourceCheckers)
public static void addIssue(Set<Issue> errors, Set<Issue> warnings, Issue issue, String logDescription)
errors - Set of Errors to add towarnings - Set of Warnings to add toissue - The issue to be addedlogDescription - The string to be loggedpublic Pair<Set<Issue>,Set<Issue>> check(RamlRoot published, RamlRoot implemented)
RamlCheckercheck in interface RamlCheckerpublished - The Raml as published in the contractimplemented - The Raml as generated from the implementationCopyright © 2017. All rights reserved.