|
||||||||||
| 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 or non-fatal (seeisFatal()).
While the non-fatal issues are merely reported as warnings in the log, the
fatal issues prevent the successful application deployment.
| Constructor Summary | |
|---|---|
ResourceModelIssue(java.lang.Object source,
java.lang.String message)
Create a new non-fatal resource model issue. |
|
ResourceModelIssue(java.lang.Object source,
java.lang.String message,
boolean isFatal)
Create a new resource model issue. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getMessage()
Human-readable description of the issue. |
java.lang.Object |
getSource()
The issue source. |
int |
hashCode()
|
boolean |
isFatal()
Check if the issue is fatal. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResourceModelIssue(java.lang.Object source,
java.lang.String message)
non-fatal resource model issue.
source - issue source.message - human-readable issue description.
public ResourceModelIssue(java.lang.Object source,
java.lang.String message,
boolean isFatal)
source - issue source.message - human-readable issue description.isFatal - true if the issue is fatal,
false otherwise.| Method Detail |
|---|
public java.lang.String getMessage()
public boolean isFatal()
true if the issue is fatal, false otherwise.public java.lang.Object getSource()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||