public class HandlerProcessingResultImpl extends Object implements HandlerProcessingResult
Constructor and Description |
---|
HandlerProcessingResultImpl() |
HandlerProcessingResultImpl(Map<Class<? extends Annotation>,ResultType> results)
Creates a new instance of HandlerProcessingResultImpl
|
Modifier and Type | Method and Description |
---|---|
void |
addAll(HandlerProcessingResult result) |
void |
addResult(Class<? extends Annotation> annotationType,
ResultType result) |
static HandlerProcessingResultImpl |
getDefaultResult(Class<? extends Annotation> annotationType,
ResultType result) |
ResultType |
getOverallResult() |
Map<Class<? extends Annotation>,ResultType> |
processedAnnotations()
Returns a map of annotation types processed by this handler as keys
and a ResultType as a value to communicate the result of the annotation
processing for each processed annotation types.
|
public HandlerProcessingResultImpl(Map<Class<? extends Annotation>,ResultType> results)
public HandlerProcessingResultImpl()
public static HandlerProcessingResultImpl getDefaultResult(Class<? extends Annotation> annotationType, ResultType result)
public Map<Class<? extends Annotation>,ResultType> processedAnnotations()
HandlerProcessingResult
processedAnnotations
in interface HandlerProcessingResult
public void addResult(Class<? extends Annotation> annotationType, ResultType result)
public void addAll(HandlerProcessingResult result)
public ResultType getOverallResult()
getOverallResult
in interface HandlerProcessingResult
Copyright © 2018. All rights reserved.