public interface IProblem extends Result
| Modifier and Type | Interface and Description |
|---|---|
static interface |
IProblem.Fluent<E extends IProblem.Fluent> |
| Modifier and Type | Method and Description |
|---|---|
default java.lang.String |
getDetail()
A human readable explanation specific to this occurrence of the problem.
|
default java.net.URI |
getInstanceURI()
An absolute URI that identifies the specific occurrence of the problem.
|
default yakworks.i18n.MsgKey |
getMsg() |
default java.lang.Boolean |
getOk()
success or fail? if ok is true then it still may mean that there are warnings and needs to be looked into
|
default java.net.URI |
getType()
An absolute URI that identifies the problem type.
|
default java.util.List<Violation> |
getViolations()
The list of constraint violations or any others
|
default void |
setDetail(java.lang.String v) |
default void |
setType(java.net.URI v) |
default void |
setViolations(java.util.List<Violation> v) |
get, getDefaultCode, getPayload, getStatus, getTitle, getValue, of, of, ofCode, OK, setPayload, setStatus, setTitledefault java.lang.Boolean getOk()
Resultdefault yakworks.i18n.MsgKey getMsg()
getMsg in interface yakworks.i18n.MsgKeyDecoratordefault java.net.URI getType()
default void setType(java.net.URI v)
default java.lang.String getDetail()
default void setDetail(java.lang.String v)
default java.util.List<Violation> getViolations()
default void setViolations(java.util.List<Violation> v)
default java.net.URI getInstanceURI()