|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.glassfish.jersey.server.model.ResourceModelValidator
public abstract class ResourceModelValidator
Resource model validator allows to check validity of a resource model. A validator maintains a list of model issues found. User can call validate method to validate several resources by a single validator to collect issues from various resource models belonging to a single application.
| Nested Class Summary | |
|---|---|
static class |
ResourceModelValidator.ModelException
Resource model exception. |
| Constructor Summary | |
|---|---|
ResourceModelValidator()
|
|
| Method Summary | |
|---|---|
void |
cleanIssueList()
Removes all issues from the current issue list. |
boolean |
fatalIssuesFound()
Convenience method to see if there were fatal issues found. |
List<ResourceModelIssue> |
getIssueList()
Returns a list of issues found after validate(org.glassfish.jersey.server.model.ResourceModelComponent)
method has been invoked. |
void |
validate(ResourceModelComponent component)
The validate method validates a component and adds possible issues found to it's list. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.glassfish.jersey.server.model.ResourceModelVisitor |
|---|
visitInflectorResourceMethod, visitResourceClass, visitResourceConstructor, visitResourceMethod, visitSubResourceLocator, visitSubResourceMethod |
| Constructor Detail |
|---|
public ResourceModelValidator()
| Method Detail |
|---|
public List<ResourceModelIssue> getIssueList()
validate(org.glassfish.jersey.server.model.ResourceModelComponent)
method has been invoked.
public boolean fatalIssuesFound()
true if there are any fatal issues present in the current
issue list.public void cleanIssueList()
public void validate(ResourceModelComponent component)
component - resource model component.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||