public class Issue extends Object
| Constructor and Description |
|---|
Issue(IssueSeverity severity,
IssueLocation location,
IssueType type,
String description,
RamlResource resource,
RamlAction action) |
Issue(IssueSeverity severity,
IssueLocation location,
IssueType type,
String description,
RamlResource resource,
RamlAction action,
String parameter) |
Issue(IssueSeverity severity,
IssueLocation location,
IssueType type,
String description,
String ramlLocation) |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildRamlLocation(RamlResource resource,
RamlAction action,
String parameter)
Uniform way of identifying a location in the Raml file based on the
Resource and Action
|
boolean |
equals(Object obj) |
RamlAction |
getAction() |
String |
getDescription() |
IssueLocation |
getLocation() |
String |
getRamlLocation()
Gets the location of the Issue as a string, or builds it from the Resource/Action/Parameter info stored.
|
RamlResource |
getResourceLocation() |
IssueSeverity |
getSeverity() |
IssueType |
getType() |
int |
hashCode() |
String |
toString() |
public Issue(IssueSeverity severity, IssueLocation location, IssueType type, String description, RamlResource resource, RamlAction action, String parameter)
public Issue(IssueSeverity severity, IssueLocation location, IssueType type, String description, RamlResource resource, RamlAction action)
public Issue(IssueSeverity severity, IssueLocation location, IssueType type, String description, String ramlLocation)
public static String buildRamlLocation(RamlResource resource, RamlAction action, String parameter)
resource - The Resource that this Issue relates toaction - The Action that this Issue relates toparameter - The parameter name that this Issue Relates topublic IssueType getType()
public IssueSeverity getSeverity()
public IssueLocation getLocation()
public String getDescription()
public String getRamlLocation()
public RamlResource getResourceLocation()
public RamlAction getAction()
Copyright © 2017. All rights reserved.