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