| Modifier and Type | Method and Description |
|---|---|
<T,A> Result<T,A> |
ExtensionsClient.execute(String extension,
String operation,
OperationParameters parameters)
Executes an operation synchronously and returns a
Result with the operation's output and attributes if available. |
| Modifier and Type | Method and Description |
|---|---|
<T,A> CompletableFuture<Result<T,A>> |
ExtensionsClient.executeAsync(String extension,
String operation,
OperationParameters parameters)
Executes an operation asynchronously by returning a
CompletableFuture instance that will complete into a
Result with the corresponding payload and attributes after the operation execution finished. |
| Modifier and Type | Method and Description |
|---|---|
Result<T,A> |
Result.Builder.build() |
| Modifier and Type | Method and Description |
|---|---|
static <T,A> Result.Builder<T,A> |
Result.builder(Result<T,A> prototypeResult)
Creates a new
Result.Builder initialises with a state that matched
the one of the given prototypeResult |
| Modifier and Type | Method and Description |
|---|---|
void |
CompletionCallback.success(Result<T,A> result)
This method is to be invoked with the operation's result.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SourceCallback.handle(Result<T,A> result)
Passes the given
result back to the runtime for processing. |
void |
SourceCallback.handle(Result<T,A> result,
SourceCallbackContext context)
Passes the given
result back to the runtime for processing. |
Copyright © 2017 MuleSoft, Inc.. All rights reserved.