Package | Description |
---|---|
de.knipp.rritoolkit.response |
Modifier and Type | Field and Description |
---|---|
private static ErrorMapper<ErrorType> |
ErrorType.mapper
the mapper
|
Modifier and Type | Method and Description |
---|---|
static ErrorType |
ErrorType.test(Response resp,
ErrorType... types)
test whether any of the given error types occur in the response.
|
static ErrorType |
ErrorType.test(ResultMessage msg,
ErrorType... types)
test whether any of the given error types occur in the response.
|
static ErrorType |
ErrorType.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
ErrorType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static java.util.EnumSet<ErrorType> |
ErrorType.getErrors(ErrorCode ec)
return a collection of all detected errors
|
static java.util.EnumSet<ErrorType> |
ErrorType.getErrors(Response resp)
create a summary of all errors occurring in the response.
|
static java.util.EnumSet<ErrorType> |
ErrorType.getSelectedErrors(Response resp,
ErrorType first,
ErrorType... other)
create a summary of all errors occurring in the response.
|
Modifier and Type | Method and Description |
---|---|
static java.util.List<ResultMessage> |
ErrorType.filter(Response resp,
ErrorType... types)
filter those result messages that match one of the given types
|
static java.util.EnumSet<ErrorType> |
ErrorType.getSelectedErrors(Response resp,
ErrorType first,
ErrorType... other)
create a summary of all errors occurring in the response.
|
static java.util.EnumSet<ErrorType> |
ErrorType.getSelectedErrors(Response resp,
ErrorType first,
ErrorType... other)
create a summary of all errors occurring in the response.
|
static ErrorType |
ErrorType.test(Response resp,
ErrorType... types)
test whether any of the given error types occur in the response.
|
static ErrorType |
ErrorType.test(ResultMessage msg,
ErrorType... types)
test whether any of the given error types occur in the response.
|
Copyright © 2005-2013 Knipp Medien und Kommunikation GmbH