Package org.glassfish.apf.impl
Class ProcessingResultImpl
- java.lang.Object
-
- org.glassfish.apf.impl.ProcessingResultImpl
-
- All Implemented Interfaces:
ProcessingResult
public class ProcessingResultImpl extends Object implements ProcessingResult
Implementation of the ProcessingResult interface- Author:
- Jerome Dochez
-
-
Constructor Summary
Constructors Constructor Description ProcessingResultImpl()
Creates a new instance of ProcessingResultImpl
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(AnnotatedElement element, HandlerProcessingResult elementResult)
void
add(ProcessingResult pr)
ResultType
getOverallResult()
Map<AnnotatedElement,HandlerProcessingResult>
getResults()
-
-
-
Method Detail
-
add
public void add(ProcessingResult pr)
-
add
public void add(AnnotatedElement element, HandlerProcessingResult elementResult)
-
getResults
public Map<AnnotatedElement,HandlerProcessingResult> getResults()
- Specified by:
getResults
in interfaceProcessingResult
- Returns:
- a Map indexed by all AnnotatedElements processed and each AnnotatedElement HandlerProcessingResult as values.
-
getOverallResult
public ResultType getOverallResult()
- Specified by:
getOverallResult
in interfaceProcessingResult
- Returns:
- the overall processing result, which is usually the most severe ResultType for all the annotated elements processing
-
-