Uses of Interface
org.apache.nifi.processor.util.pattern.ExceptionHandler.OnError
-
Uses of ExceptionHandler.OnError in org.apache.nifi.processor.util.pattern
Fields in org.apache.nifi.processor.util.pattern declared as ExceptionHandler.OnErrorModifier and TypeFieldDescriptionprivate ExceptionHandler.OnError<C, ?> ExceptionHandler.onErrorDo some action to the input based on the final error type.Methods in org.apache.nifi.processor.util.pattern that return ExceptionHandler.OnErrorModifier and TypeMethodDescriptiondefault ExceptionHandler.OnError<C, I> ExceptionHandler.OnError.andThen(ExceptionHandler.OnError<C, I> after) static <C> ExceptionHandler.OnError<C, org.apache.nifi.flowfile.FlowFile> ExceptionHandler.createOnError(org.apache.nifi.processor.ProcessContext context, org.apache.nifi.processor.ProcessSession session, RoutingResult routingResult, org.apache.nifi.processor.Relationship relFailure, org.apache.nifi.processor.Relationship relRetry) Create aExceptionHandler.OnErrorfunction instance that routes input based onErrorTypes.Resultdestination and penalty.static <FCT extends RollbackOnFailure,I>
ExceptionHandler.OnError<FCT, I> RollbackOnFailure.createOnError(ExceptionHandler.OnError<FCT, I> onError) static <C,I extends PartialFunctions.FlowFileGroup>
ExceptionHandler.OnError<C, I> ExceptionHandler.createOnGroupError(org.apache.nifi.processor.ProcessContext context, org.apache.nifi.processor.ProcessSession session, RoutingResult routingResult, org.apache.nifi.processor.Relationship relFailure, org.apache.nifi.processor.Relationship relRetry) Same asExceptionHandler.createOnError(ProcessContext, ProcessSession, RoutingResult, Relationship, Relationship)for FlowFileGroup.Methods in org.apache.nifi.processor.util.pattern with parameters of type ExceptionHandler.OnErrorModifier and TypeMethodDescriptiondefault ExceptionHandler.OnError<C, I> ExceptionHandler.OnError.andThen(ExceptionHandler.OnError<C, I> after) static <FCT extends RollbackOnFailure,I>
ExceptionHandler.OnError<FCT, I> RollbackOnFailure.createOnError(ExceptionHandler.OnError<FCT, I> onError) <I> booleanExceptionHandler.execute(C context, I input, ExceptionHandler.Procedure<I> procedure, ExceptionHandler.OnError<C, I> onError) Executes specified procedure function with the input.voidExceptionHandler.onError(ExceptionHandler.OnError<C, ?> onError) Specify a default OnError function that will be called if one is not explicitly specified whenExceptionHandler.execute(Object, Object, Procedure)is called.