Uses of Class
org.apache.nifi.processor.util.pattern.ErrorTypes.Result
-
Uses of ErrorTypes.Result in org.apache.nifi.processor.util.pattern
Fields in org.apache.nifi.processor.util.pattern with type parameters of type ErrorTypes.ResultModifier and TypeFieldDescriptionprivate BiFunction<C, ErrorTypes, ErrorTypes.Result> ExceptionHandler.adjustErrorAdjust error type based on the context.Methods in org.apache.nifi.processor.util.pattern that return ErrorTypes.ResultMethods in org.apache.nifi.processor.util.pattern that return types with arguments of type ErrorTypes.ResultModifier and TypeMethodDescriptionstatic <FCT extends RollbackOnFailure>
BiFunction<FCT, ErrorTypes, ErrorTypes.Result> RollbackOnFailure.createAdjustError(org.apache.nifi.logging.ComponentLog logger) Create a function to use withExceptionHandlerthat adjust error type based on functional context.Methods in org.apache.nifi.processor.util.pattern with parameters of type ErrorTypes.ResultModifier and TypeMethodDescriptionvoidExceptionHandler.OnError.apply(C context, I input, ErrorTypes.Result result, Exception e) Method parameters in org.apache.nifi.processor.util.pattern with type arguments of type ErrorTypes.ResultModifier and TypeMethodDescriptionvoidExceptionHandler.adjustError(BiFunction<C, ErrorTypes, ErrorTypes.Result> adjustError) Specify a function that adjust ErrorType based on a function context.