Package | Description |
---|---|
de.knipp.rritoolkit.response |
Modifier and Type | Class and Description |
---|---|
class |
GroupPattern
class that allows to match groups of error codes
|
class |
SimplePattern
a simple pattern, consisting of a single code value
|
Modifier and Type | Field and Description |
---|---|
private ErrorPattern |
ErrorType.pattern
the pattern
|
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.accessPatterns
the patterns to investigate for a certain access code
|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.applicationPatterns
the patterns to investigate for a certain application code
|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.classPatterns
the patterns to investigate for a certain error class code
|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.codePatterns
the patterns to investigate for a certain code
|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.componentPatterns
the patterns to investigate for a certain component code
|
private java.util.Map<java.lang.String,java.util.List<ErrorPattern>> |
ErrorMapper.errorPatterns
the patterns to investigate for a certain error code
|
private java.util.List<ErrorPattern> |
ErrorMapper.genericPatterns
list of pattern that need to be tested in any case
|
private java.util.Map<ErrorPattern,E> |
ErrorMapper.patternMap
the mapping from the pattern to the user object
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorMapper.add(ErrorPattern pattern,
E obj)
add a new pattern to the mapper.
|
private void |
ErrorMapper.Visitor.add(java.util.Map<java.lang.String,java.util.List<ErrorPattern>> map,
java.lang.String code,
ErrorPattern pattern)
add a pattern to a list
|
static java.util.List<ResultMessage> |
ErrorMapper.filter(java.lang.Iterable<ResultMessage> msgs,
ErrorPattern... patterns)
filter the given result messages that match one of the given patterns
|
void |
ErrorPatternVisitor.visit(ErrorPattern pattern)
called by an opaque implementation of ErrorPattern
|
void |
ErrorMapper.Visitor.visit(ErrorPattern pattern)
called by an opaque implementation of ErrorPattern
|
Modifier and Type | Method and Description |
---|---|
private void |
ErrorMapper.Visitor.add(java.util.Map<java.lang.String,java.util.List<ErrorPattern>> map,
java.lang.String code,
ErrorPattern pattern)
add a pattern to a list
|
private boolean |
ErrorMapper.testList(java.util.List<ErrorPattern> list,
ErrorCode ec,
java.util.Collection<E> result)
test all patterns in the given list for a match.
|
Constructor and Description |
---|
ErrorType(ErrorPattern thePattern)
constructor with a pre-created pattern
|
Copyright © 2005-2013 Knipp Medien und Kommunikation GmbH