Uses of Interface
aQute.bnd.result.Result
-
Packages that use Result Package Description aQute.bnd.build aQute.bnd.osgi aQute.bnd.result -
-
Uses of Result in aQute.bnd.build
Methods in aQute.bnd.build that return Result 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)
Result<java.lang.Integer>
WorkspaceExternalPluginHandler. call(java.lang.String mainClass, org.osgi.framework.VersionRange range, Processor context, java.util.Map<java.lang.String,java.lang.String> attrs, java.util.List<java.lang.String> args, java.io.InputStream stdin, java.io.OutputStream stdout, java.io.OutputStream stderr)
Result<java.util.Set<java.io.File>>
ProjectGenerate. generate(boolean force)
Result<java.io.File>
Workspace. getBundle(java.lang.String bsn, Version version, java.util.Map<java.lang.String,java.lang.String> attrs)
Result<java.io.File>
Workspace. getBundle(java.lang.String bsn, Version version, java.util.Map<java.lang.String,java.lang.String> attrs, Workspace.ResourceRepositoryStrategy strategy)
Result<java.io.File>
Workspace. getBundle(org.osgi.resource.Resource resource)
Result<java.io.File>
Workspace. getBundle(org.osgi.resource.Resource resource, Workspace.ResourceRepositoryStrategy strategy)
Result<java.io.File>
Workspace. getExpandedInCache(java.lang.String urn, java.io.File file)
Get a cached directory of an inputstream to a Jar.Result<java.io.File>
Workspace. getExpandedInCache(org.osgi.resource.Resource resource)
Get a cached directory of an expanded resource.<T> Result<java.util.List<T>>
WorkspaceExternalPluginHandler. getImplementations(java.lang.Class<T> interf, Attrs attrs)
Returns list of external plugin proxies that implement the given interface.Result<java.util.Set<java.io.File>>
ProjectGenerate. getInputs()
private Result<Processor.CL>
WorkspaceExternalPluginHandler. getLoader(org.osgi.resource.Capability cap)
private Result<java.lang.Object>
WorkspaceExternalPluginHandler. load(org.osgi.resource.Capability cap, Attrs attrs)
private Result<java.lang.Void>
ProjectGenerate. prepare(java.lang.String sourceWithDuplicate, ProjectInstructions.GeneratorSpec st)
Result<java.util.Map<java.lang.String,java.util.List<BundleId>>>
Workspace. search(java.lang.String partialFqn)
Search for a partial class name.Result<java.util.Map<java.lang.String,java.util.List<BundleId>>>
Workspace. search(java.lang.String packageName, java.lang.String className)
Search for a class name inside particular package.(package private) Result<java.util.Map<java.lang.String,java.util.List<BundleId>>>
WorkspaceClassIndex. search(java.lang.String partialFqn)
Search for the bundles that export the given partialFqn.Result<java.util.Map<java.lang.String,java.util.List<BundleId>>>
WorkspaceClassIndex. search(java.lang.String packageName, java.lang.String className)
Search for the bundles that export the given class from the specified package.private Result<java.util.Set<java.io.File>>
ProjectGenerate. step(java.lang.String sourceWithDuplicate, ProjectInstructions.GeneratorSpec st)
Method parameters in aQute.bnd.build with type arguments of type Result 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)
-
Uses of Result in aQute.bnd.osgi
Methods in aQute.bnd.osgi that return Result Modifier and Type Method Description static Result<java.lang.String[]>
Descriptors. determine(java.lang.String fqn)
Return a 2 element array based on the fqn. -
Uses of Result in aQute.bnd.result
Classes in aQute.bnd.result that implement Result Modifier and Type Class Description (package private) class
Err<V>
This class represents the Err side of @{link Result}.(package private) class
Ok<V>
This class represents the Ok side of @{link Result}.Methods in aQute.bnd.result that return Result Modifier and Type Method Description <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(java.lang.CharSequence error)
Returns anErr
containing the specifiederror
.static <V> Result<V>
Result. err(java.lang.String format, java.lang.Object... args)
<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.Result<V>
Err. mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper)
Map the contained error if this is anErr
value.Result<V>
Ok. mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper)
Map the contained error if this is anErr
value.Result<V>
Result. mapErr(FunctionWithException<? super java.lang.String,? extends java.lang.CharSequence> mapper)
Map the contained error if this is anErr
value.static <V> Result<V>
Result. of(V value, java.lang.CharSequence error)
static <V> Result<V>
Result. ok(V value)
Returns anOk
containing the specifiedvalue
.Result<V>
Err. recover(FunctionWithException<? super java.lang.String,? extends V> recover)
Recover the contained error if this is anErr
value.Result<V>
Ok. recover(FunctionWithException<? super java.lang.String,? extends V> recover)
Recover the contained error if this is anErr
value.Result<V>
Result. recover(FunctionWithException<? super java.lang.String,? extends V> recover)
Recover the contained error if this is anErr
value.Result<V>
Err. recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover)
Recover the contained error if this is anErr
value.Result<V>
Ok. recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover)
Recover the contained error if this is anErr
value.Result<V>
Result. recoverWith(FunctionWithException<? super java.lang.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 Result 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 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.Result<V>
Err. recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover)
Recover the contained error if this is anErr
value.Result<V>
Ok. recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover)
Recover the contained error if this is anErr
value.Result<V>
Result. recoverWith(FunctionWithException<? super java.lang.String,? extends Result<? extends V>> recover)
Recover the contained error if this is anErr
value.
-