Module io.annot8.api
Class ProcessorResponse.ProcessorResponseBuilder
- java.lang.Object
-
- io.annot8.api.components.responses.ProcessorResponse.ProcessorResponseBuilder
-
- All Implemented Interfaces:
ProcessorResponse
- Enclosing interface:
- ProcessorResponse
public static class ProcessorResponse.ProcessorResponseBuilder extends Object implements ProcessorResponse
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface io.annot8.api.components.responses.ProcessorResponse
ProcessorResponse.ProcessorResponseBuilder, ProcessorResponse.Status
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedProcessorResponseBuilder(ProcessorResponse.Status status)protectedProcessorResponseBuilder(ProcessorResponse.Status status, Collection<Exception> exceptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Collection<Exception>getExceptions()Return any exceptions associated with this responseProcessorResponse.StatusgetStatus()Return the status associated with this responseinthashCode()StringtoString()-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface io.annot8.api.components.responses.ProcessorResponse
hasExceptions
-
-
-
-
Constructor Detail
-
ProcessorResponseBuilder
protected ProcessorResponseBuilder(ProcessorResponse.Status status)
-
ProcessorResponseBuilder
protected ProcessorResponseBuilder(ProcessorResponse.Status status, Collection<Exception> exceptions)
-
-
Method Detail
-
getStatus
public ProcessorResponse.Status getStatus()
Description copied from interface:ProcessorResponseReturn the status associated with this response- Specified by:
getStatusin interfaceProcessorResponse- Returns:
- status
-
getExceptions
public Collection<Exception> getExceptions()
Description copied from interface:ProcessorResponseReturn any exceptions associated with this response- Specified by:
getExceptionsin interfaceProcessorResponse- Returns:
- exceptions thrown during processing
-
-