Uses of Interface
aQute.bnd.service.result.Result
-
Packages that use Result Package Description aQute.bnd.build aQute.bnd.osgi aQute.bnd.service.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,java.lang.String>WorkspaceExternalPluginHandler. call(java.lang.String pluginName, java.lang.Class<T> c, FunctionWithException<T,Result<R,java.lang.String>> f)Result<java.lang.Integer,java.lang.String>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>,java.lang.String>ProjectGenerate. generate(boolean force)Result<java.io.File,java.lang.String>Workspace. getBundle(java.lang.String bsn, Version version, java.util.Map<java.lang.String,java.lang.String> attrs)Result<java.io.File,java.lang.String>Workspace. getBundle(org.osgi.resource.Resource resource)Result<java.util.Set<java.io.File>,java.lang.String>ProjectGenerate. getInputs()Result<java.util.Map<java.lang.String,java.util.List<BundleId>>,java.lang.String>Workspace. search(java.lang.String partialFqn)Search for a partial class name.Result<java.util.Map<java.lang.String,java.util.List<BundleId>>,java.lang.String>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>>,java.lang.String>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>>,java.lang.String>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>,java.lang.String>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,java.lang.String>WorkspaceExternalPluginHandler. call(java.lang.String pluginName, java.lang.Class<T> c, FunctionWithException<T,Result<R,java.lang.String>> 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[],java.lang.String>Descriptors. determine(java.lang.String fqn)Return a 2 element array based on the fqn. -
Uses of Result in aQute.bnd.service.result
Classes in aQute.bnd.service.result that implement Result Modifier and Type Class Description classErr<V,E>This class represents the Err side of @{link Result}.classOk<V,E>This class represents the Ok side of @{link Result}.Methods in aQute.bnd.service.result that return Result Modifier and Type Method Description <X> Result<X,E>Err. asError()<X> Result<X,E>Ok. asError()<X> Result<X,E>Result. asError()private <U> Result<U,E>Err. coerce()private <F> Result<V,F>Ok. coerce()static <V,E>
Result<V,E>Result. err(E error)Returns anErrcontaining the specifiederror.static <V> Result<V,java.lang.String>Result. err(java.lang.String format, java.lang.Object... args)<U> Result<U,E>Err. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.<U> Result<U,E>Ok. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.<U> Result<U,E>Result. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.<U> Result<U,E>Err. map(FunctionWithException<? super V,? extends U> mapper)Map the contained value if this is anOkvalue.<U> Result<U,E>Ok. map(FunctionWithException<? super V,? extends U> mapper)Map the contained value if this is anOkvalue.<U> Result<U,E>Result. map(FunctionWithException<? super V,? extends U> mapper)Map the contained value if this is anOkvalue.<F> Result<V,F>Err. mapErr(FunctionWithException<? super E,? extends F> mapper)Map the contained error if this is anErrvalue.<F> Result<V,F>Ok. mapErr(FunctionWithException<? super E,? extends F> mapper)Map the contained error if this is anErrvalue.<F> Result<V,F>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.Result<V,E>Err. recover(FunctionWithException<? super E,? extends V> recover)Recover the contained error if this is anErrvalue.Result<V,E>Ok. recover(FunctionWithException<? super E,? extends V> recover)Recover the contained error if this is anErrvalue.Result<V,E>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 Result Modifier and Type Method Description <U> Result<U,E>Err. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.<U> Result<U,E>Ok. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.<U> Result<U,E>Result. flatMap(FunctionWithException<? super V,? extends Result<? extends U,? extends E>> mapper)FlatMap the contained value if this is anOkvalue.
-