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.Search for the bundles that export the given partialFqn.Search for the bundles that export the given class from the specified package.ProjectGenerate.step
(String sourceWithDuplicate, ProjectInstructions.GeneratorSpec st) 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 class
Err<V,
E> This class represents the Err side of @{link Result}.final class
Ok<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()
Err.coerce()
Ok.coerce()
static <V,
E> Result<V, E> Result.err
(E error) Returns anErr
containing the specifiederror
.Err.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOk
value.Ok.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOk
value.Result.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOk
value.Err.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.Ok.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.Result.map
(FunctionWithException<? super V, ? extends U> mapper) Map the contained value if this is anOk
value.Err.mapErr
(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErr
value.Ok.mapErr
(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErr
value.Result.mapErr
(FunctionWithException<? super E, ? extends F> mapper) Map the contained error if this is anErr
value.static <V,
E> Result<V, E> Result.of
(V value, E error) static <V,
E> Result<V, E> Result.ok
(V value) Returns anOk
containing the specifiedvalue
.Err.recover
(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErr
value.Ok.recover
(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErr
value.Result.recover
(FunctionWithException<? super E, ? extends V> recover) Recover the contained error if this is anErr
value.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 anOk
value.Ok.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOk
value.Result.flatMap
(FunctionWithException<? super V, ? extends Result<? extends U, ? extends E>> mapper) FlatMap the contained value if this is anOk
value.