Uses of Interface
aQute.bnd.service.result.Result
Packages that use Result
-
Uses of Result in aQute.bnd.build
Methods in aQute.bnd.build that return ResultModifier and TypeMethodDescriptionWorkspaceExternalPluginHandler.call(String pluginName, Class<T> c, FunctionWithException<T, Result<R, String>> f) WorkspaceExternalPluginHandler.call(String mainClass, org.osgi.framework.VersionRange range, Processor context, Map<String, String> attrs, List<String> args, InputStream stdin, OutputStream stdout, OutputStream stderr) ProjectGenerate.generate(boolean force) Workspace.getBundle(org.osgi.resource.Resource resource) ProjectGenerate.getInputs()Search for a partial class name.Search for a class name inside particular package.Method parameters in aQute.bnd.build with type arguments of type Result -
Uses of Result in aQute.bnd.osgi
Methods in aQute.bnd.osgi that return Result -
Uses of Result in aQute.bnd.service.result
Classes in aQute.bnd.service.result that implement ResultModifier and TypeClassDescriptionfinal classErr<V,E> This class represents the Err side of @{link Result}.final classOk<V,E> This class represents the Ok side of @{link Result}.Methods in aQute.bnd.service.result that return ResultModifier and TypeMethodDescriptionErr.asError()Ok.asError()Result.asError()static <V,E> Result<V, E> Result.err(E error) Returns anErrcontaining the specifiederror.Err.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.Ok.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.Result.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.Err.map(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOkvalue.Ok.map(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOkvalue.Result.map(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOkvalue.Err.mapErr(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErrvalue.Ok.mapErr(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErrvalue.Result.mapErr(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErrvalue.static <V,E> Result<V, E> Result.of(V value, E error) static <V,E> Result<V, E> Result.ok(V value) Returns anOkcontaining the specifiedvalue.Err.recover(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErrvalue.Ok.recover(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErrvalue.Result.recover(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErrvalue.Method parameters in aQute.bnd.service.result with type arguments of type ResultModifier and TypeMethodDescriptionErr.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.Ok.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.Result.flatMap(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOkvalue.