|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.ResourceModelIssue
public final class ResourceModelIssue
Resource model validity issue.
Covers various model issues, such as duplicate URI templates, duplicate HTTP method annotations, etc. The model issues can be either fatal warnings or hings (seegetSeverity()).
While the non-fatal issues are merely reported as warnings in the log, the
fatal issues prevent the successful application deployment.
| Constructor Summary | |
|---|---|
ResourceModelIssue(Object source,
String message)
Create a new resource model warning. |
|
ResourceModelIssue(Object source,
String message,
Severity severity)
Create a new resource model issue. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
String |
getMessage()
Human-readable description of the issue. |
Severity |
getSeverity()
Get Severity. |
Object |
getSource()
The issue source. |
int |
hashCode()
|
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceModelIssue(Object source,
String message)
source - issue source.message - human-readable issue description.
public ResourceModelIssue(Object source,
String message,
Severity severity)
source - issue source.message - human-readable issue description.severity - indicates severity of added error.| Method Detail |
|---|
public String getMessage()
public Severity getSeverity()
Severity.
ResourceModelIssue.public Object getSource()
public String toString()
toString in class Objectpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||