public interface ExecutableComponent extends AnnotatedObject
PROPERTY_NAME| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Event> |
execute(Event event)
Executes the component based on a
Event that may have been provided by another component execution. |
CompletableFuture<Event> |
execute(InputEvent inputEvent)
Executes the component based on a
InputEvent created programmatically be the user. |
getAnnotation, getAnnotations, getLocation, getRootContainerName, setAnnotationsCompletableFuture<Event> execute(InputEvent inputEvent)
InputEvent created programmatically be the user.inputEvent - the input to execute the componentEvent with the content of the resultCompletableFuture<Event> execute(Event event)
Event that may have been provided by another component execution.event - the input to execute the componentEvent with the content of the resultCopyright © 2017 MuleSoft, Inc.. All rights reserved.