public class ActionQueryParameterChecker extends Object implements RamlActionVisitorCheck
| Modifier and Type | Field and Description |
|---|---|
static String |
INCOMPATIBLE_TYPES |
static String |
INCOMPATIBLE_VALIDATION |
protected static org.slf4j.Logger |
logger
Class Logger
|
static String |
QUERY_PARAMETER_FOUND_IN_FORM |
static String |
QUERY_PARAMETER_MISSING |
static String |
REQUIRED_PARAM_HIDDEN |
| Constructor and Description |
|---|
ActionQueryParameterChecker() |
| Modifier and Type | Method and Description |
|---|---|
Pair<Set<Issue>,Set<Issue>> |
check(RamlActionType name,
RamlAction reference,
RamlAction target,
IssueLocation location,
IssueSeverity maxSeverity)
Checks a particular action
|
public static String QUERY_PARAMETER_MISSING
public static String QUERY_PARAMETER_FOUND_IN_FORM
public static String INCOMPATIBLE_TYPES
public static String INCOMPATIBLE_VALIDATION
public static String REQUIRED_PARAM_HIDDEN
protected static final org.slf4j.Logger logger
public Pair<Set<Issue>,Set<Issue>> check(RamlActionType name, RamlAction reference, RamlAction target, IssueLocation location, IssueSeverity maxSeverity)
RamlActionVisitorCheckcheck in interface RamlActionVisitorCheckname - The key/verb of the actionreference - The Action which is the source of truth from the RAML modeltarget - The target Action to check against from the RAML modellocation - The location where the issue (if any) liesmaxSeverity - The maximum severity that can be applied to any errorsCopyright © 2017. All rights reserved.