Uses of Interface
aQute.bnd.exceptions.FunctionWithException
Packages that use FunctionWithException
Package
Description
This package is exported by biz.aQute.bnd.util.
-
Uses of FunctionWithException in aQute.bnd.build
Methods in aQute.bnd.build with parameters of type FunctionWithExceptionModifier and TypeMethodDescription<T,
R> Result<R> WorkspaceExternalPluginHandler.call
(String pluginName, Class<T> c, FunctionWithException<T, Result<R>> f) <T,
U> T Workspace.writeLocked
(Callable<U> underWrite, FunctionWithException<U, T> underRead) <T,
U> T Workspace.writeLocked
(Callable<U> underWrite, FunctionWithException<U, T> underRead, long timeoutInMs) <T,
U> T Workspace.writeLocked
(Callable<U> underWrite, FunctionWithException<U, T> underRead, BooleanSupplier canceled) <T,
U> T Workspace.writeLocked
(Callable<U> underWrite, FunctionWithException<U, T> underRead, BooleanSupplier canceled, long timeoutInMs) Lock the workspace for all functions including modification.(package private) <T,
U> T WorkspaceLock.writeReadLocked
(long timeoutInMs, Callable<U> underWrite, FunctionWithException<U, T> underRead, BooleanSupplier canceled) -
Uses of FunctionWithException in aQute.bnd.exceptions
Methods in aQute.bnd.exceptions with parameters of type FunctionWithExceptionModifier and TypeMethodDescriptionstatic <T,
R> Function<T, R> FunctionWithException.asFunction
(FunctionWithException<T, R> unchecked) static <T,
R> Function<T, R> FunctionWithException.asFunctionOrElse
(FunctionWithException<T, R> unchecked, R orElse) static <T,
R> Function<T, R> FunctionWithException.asFunctionOrElseGet
(FunctionWithException<T, R> unchecked, Supplier<? extends R> orElseGet) -
Uses of FunctionWithException in aQute.bnd.remoteworkspace.client
Methods in aQute.bnd.remoteworkspace.client with parameters of type FunctionWithExceptionModifier and TypeMethodDescriptionprivate static RemoteWorkspace
RemoteWorkspaceClientFactory.findRemoteWorkspace
(File dir, FunctionWithException<Integer, RemoteWorkspace> attach) -
Uses of FunctionWithException in aQute.bnd.result
Methods in aQute.bnd.result with parameters of type FunctionWithExceptionModifier and TypeMethodDescription<U> Result<U>
Err.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U>> mapper) FlatMap the contained value if this is anOk
value.<U> Result<U>
Ok.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U>> mapper) FlatMap the contained value if this is anOk
value.<U> Result<U>
Result.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U>> mapper) FlatMap the contained value if this is anOk
value.<U> Result<U>
Err.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.<U> Result<U>
Ok.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.<U> Result<U>
Result.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.Err.mapErr
(FunctionWithException<? super String, ? extends CharSequence> mapper) Map the contained error if this is anErr
value.Ok.mapErr
(FunctionWithException<? super String, ? extends CharSequence> mapper) Map the contained error if this is anErr
value.Result.mapErr
(FunctionWithException<? super String, ? extends CharSequence> mapper) Map the contained error if this is anErr
value.Err.orElseThrow
(FunctionWithException<? super String, ? extends R> throwableSupplier) Returns the contained value if this is anOk
value.Ok.orElseThrow
(FunctionWithException<? super String, ? extends R> throwableSupplier) Returns the contained value if this is anOk
value.Result.orElseThrow
(FunctionWithException<? super String, ? extends R> throwableSupplier) Returns the contained value if this is anOk
value.Err.recover
(FunctionWithException<? super String, ? extends V> recover) Recover the contained error if this is anErr
value.Ok.recover
(FunctionWithException<? super String, ? extends V> recover) Recover the contained error if this is anErr
value.Result.recover
(FunctionWithException<? super String, ? extends V> recover) Recover the contained error if this is anErr
value.Err.recoverWith
(FunctionWithException<? super String, ? extends Result<? extends V>> recover) Recover the contained error if this is anErr
value.Ok.recoverWith
(FunctionWithException<? super String, ? extends Result<? extends V>> recover) Recover the contained error if this is anErr
value.Result.recoverWith
(FunctionWithException<? super String, ? extends Result<? extends V>> recover) Recover the contained error if this is anErr
value. -
Uses of FunctionWithException in aQute.lib.aspects
Methods in aQute.lib.aspects with parameters of type FunctionWithExceptionModifier and TypeMethodDescription<A,
R> Aspects.InterceptBuilder<T> Aspects.InterceptBuilder.intercept
(FunctionWithException<A, R> intercept, String name, Class<A> type) Intercept a one argument method callAspects.InterceptBuilder.intercept
(FunctionWithException<Aspects.Invocation, Object> intercept, String name, Class<?>... types) Intercept a method call with a lambda.