public class ViolationsContainer<T> extends Object implements Serializable
Constructor and Description |
---|
ViolationsContainer(Object target) |
ViolationsContainer(Set<ResteasyConstraintViolation> set) |
Modifier and Type | Method and Description |
---|---|
void |
addClassViolation(ResteasyConstraintViolation v) |
void |
addFieldViolation(ResteasyConstraintViolation v) |
void |
addParameterViolation(ResteasyConstraintViolation v) |
void |
addPropertyViolation(ResteasyConstraintViolation v) |
void |
addReturnValueViolation(ResteasyConstraintViolation v) |
void |
addViolations(Set<? extends ResteasyConstraintViolation> set) |
List<ResteasyConstraintViolation> |
getClassViolations() |
Exception |
getException() |
List<ResteasyConstraintViolation> |
getFieldViolations() |
List<ResteasyConstraintViolation> |
getParameterViolations() |
List<ResteasyConstraintViolation> |
getPropertyViolations() |
List<ResteasyConstraintViolation> |
getReturnValueViolations() |
Object |
getTarget() |
void |
setException(Exception exception) |
void |
setTarget(Object target) |
int |
size() |
String |
toString() |
public ViolationsContainer(Object target)
public ViolationsContainer(Set<ResteasyConstraintViolation> set)
public Exception getException()
public void setException(Exception exception)
public Object getTarget()
public void setTarget(Object target)
public void addViolations(Set<? extends ResteasyConstraintViolation> set)
public void addFieldViolation(ResteasyConstraintViolation v)
public void addPropertyViolation(ResteasyConstraintViolation v)
public void addClassViolation(ResteasyConstraintViolation v)
public void addParameterViolation(ResteasyConstraintViolation v)
public void addReturnValueViolation(ResteasyConstraintViolation v)
public List<ResteasyConstraintViolation> getFieldViolations()
public List<ResteasyConstraintViolation> getPropertyViolations()
public List<ResteasyConstraintViolation> getClassViolations()
public List<ResteasyConstraintViolation> getParameterViolations()
public List<ResteasyConstraintViolation> getReturnValueViolations()
public int size()
Copyright © 2018 JBoss by Red Hat. All rights reserved.