Package org.glassfish.apf.impl
Class ProcessingResultImpl
java.lang.Object
org.glassfish.apf.impl.ProcessingResultImpl
- All Implemented Interfaces:
ProcessingResult
Implementation of the ProcessingResult interface
- Author:
- Jerome Dochez
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(AnnotatedElement element, HandlerProcessingResult elementResult) voidadd(ProcessingResult pr)
-
Constructor Details
-
ProcessingResultImpl
public ProcessingResultImpl()Creates a new instance of ProcessingResultImpl
-
-
Method Details
-
add
-
add
-
getResults
- Specified by:
getResultsin interfaceProcessingResult- Returns:
- a Map indexed by all AnnotatedElements processed and each AnnotatedElement HandlerProcessingResult as values.
-
getOverallResult
- Specified by:
getOverallResultin interfaceProcessingResult- Returns:
- the overall processing result, which is usually the most severe ResultType for all the annotated elements processing
-