Uses of Interface
com.identityworksllc.iiq.common.Functions.ConsumerWithError
-
Packages that use Functions.ConsumerWithError Package Description com.identityworksllc.iiq.common Utilities, interfaces, and standalone tools for IIQ development -
-
Uses of Functions.ConsumerWithError in com.identityworksllc.iiq.common
Subinterfaces of Functions.ConsumerWithError in com.identityworksllc.iiq.common Modifier and Type Interface Description static interface
Functions.GenericCallback
A generic callback implementation, essentially a runnable with an exception.Methods in com.identityworksllc.iiq.common that return Functions.ConsumerWithError Modifier and Type Method Description default Functions.ConsumerWithError<T>
Functions.ConsumerWithError. andThen(Consumer<? super T> after)
static Functions.ConsumerWithError<Object>
Functions. c(bsh.This bshThis, String methodName)
Creates a Consumer that passes each input to the given beanshell method in the given namespace.static Functions.ConsumerWithError<Object>
Functions. c(String methodName)
Creates a Consumer to invoke a method on each input.static Functions.ConsumerWithError<Object>
Functions. c(String methodName, Object... inputs)
Creates a Consumer to invoke a method on an object passed to it.static Functions.ConsumerWithError<Object>
Functions. cs(Class<?> sourceType, String methodName)
Creates a Consumer that invokes the given static method on the given class for each input object.static Functions.ConsumerWithError<Object>
Functions. cs(Class<?> sourceType, String methodName, Object param1)
Creates a Consumer that invokes the given static method on the given class for each input object, passing the object as the first method parameter and the given param1 as the second.static Functions.ConsumerWithError<Object>
Functions. cs(Class<?> sourceType, String methodName, Object param1, Object param2)
Creates a Consumer that invokes the given static method on the given class for each input object, passing the object as the first method parameter, the given param1 as the second, and the given param2 as the third.Methods in com.identityworksllc.iiq.common with parameters of type Functions.ConsumerWithError Modifier and Type Method Description static <T> void
Quietly. invoke(T input, Functions.ConsumerWithError<? super T> action)
Performs the action, logging and swallowing any exceptionsstatic <T> void
Utilities. withIterator(Functions.SupplierWithError<Iterator<T>> iteratorSupplier, Functions.ConsumerWithError<Iterator<T>> iteratorConsumer)
Safely handles the given iterator by passing it to the Consumer and, regardless of outcome, by flushing it when the Consumer returns.static <T> void
Utilities. withIterator(Iterator<T> iterator, Functions.ConsumerWithError<Iterator<T>> iteratorConsumer)
Safely handles the given iterator by passing it to the Consumer and, regardless of outcome, by flushing it when the Consumer returns.static <V extends sailpoint.object.SailPointObject>
voidUtilities. withPersistentLock(sailpoint.api.SailPointContext context, Class<V> sailpointClass, String id, int timeoutSeconds, Functions.ConsumerWithError<V> callback)
Obtains a persistent lock on the object (sets lock = 1 in the DB), then executes the callback.static void
Utilities. withPrivateContext(Functions.ConsumerWithError<sailpoint.api.SailPointContext> runner)
Begins a private, temporary SailpointContext session and then invokes the given Consumer as a callback.static <V extends sailpoint.object.SailPointObject>
voidUtilities. withTransactionLock(sailpoint.api.SailPointContext context, Class<V> sailpointClass, String id, int timeoutSeconds, Functions.ConsumerWithError<V> callback)
Obtains a transaction lock on the object (selects it ‘for update’), then executes the callback.
-