Uses of Interface
aQute.bnd.result.Result
Packages that use Result
-
Uses of Result in aQute.bnd.build
Methods in aQute.bnd.build that return ResultModifier and TypeMethodDescription<T,
R> Result<R> WorkspaceExternalPluginHandler.call
(String pluginName, Class<T> c, FunctionWithException<T, Result<R>> 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
(String bsn, Version version, Map<String, String> attrs, Workspace.ResourceRepositoryStrategy strategy) Workspace.getBundle
(org.osgi.resource.Resource resource) Workspace.getBundle
(org.osgi.resource.Resource resource, Workspace.ResourceRepositoryStrategy strategy) Workspace.getExpandedInCache
(String urn, File file) Get a cached directory of an inputstream to a Jar.Workspace.getExpandedInCache
(org.osgi.resource.Resource resource) Get a cached directory of an expanded resource.WorkspaceExternalPluginHandler.getImplementations
(Class<T> interf, Attrs attrs) Returns list of external plugin proxies that implement the given interface.ProjectGenerate.getInputs()
private Result<Processor.CL>
WorkspaceExternalPluginHandler.getLoader
(org.osgi.resource.Capability cap) ProjectGenerate.prepare
(String sourceWithDuplicate, ProjectInstructions.GeneratorSpec st) 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.result
Classes in aQute.bnd.result that implement ResultModifier and TypeClassDescription(package private) final class
Err<V>
This class represents the Err side of @{link Result}.(package private) final class
Ok<V>
This class represents the Ok side of @{link Result}.Methods in aQute.bnd.result that return ResultModifier and TypeMethodDescription<U> Result<U>
Err.asError()
If anErr
, return this coerced to the desired generic type.<U> Result<U>
Ok.asError()
If anErr
, return this coerced to the desired generic type.<U> Result<U>
Result.asError()
If anErr
, return this coerced to the desired generic type.static <V> Result<V>
Result.err
(CharSequence error) Returns anErr
containing the specifiederror
.static <V> Result<V>
<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.static <V> Result<V>
Result.of
(V value, CharSequence error) static <V> Result<V>
Result.ok
(V value) Returns anOk
containing the specifiedvalue
.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.Method parameters in aQute.bnd.result with type arguments of type ResultModifier 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.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.