public interface SourceCallbackContext
Source to
a particular state| Modifier and Type | Method and Description |
|---|---|
void |
addVariable(String variableName,
Object value)
Adds a variable
|
<T,A> SourceCallback<T,A> |
getSourceCallback() |
<T> Optional<T> |
getVariable(String variableName)
Returns the value associated to a variable of name
variableName |
boolean |
hasVariable(String variableName)
Returns whether a variable of name
variableName has a value associated to it
through the addVariable(String, Object) method |
boolean hasVariable(String variableName)
variableName has a value associated to it
through the addVariable(String, Object) methodvariableName - the name of a variable associated to a particular SourceCallbacktrue if the parameter is present.<T> Optional<T> getVariable(String variableName)
variableNameT - the returned value's generic typevariableName - the name of a variable of a SourceCallbackOptional of the variable's value.void addVariable(String variableName, Object value)
variableName - the name of the variablevalue - the variable's value<T,A> SourceCallback<T,A> getSourceCallback()
T - the generic type of the output values of the generated resultsA - the generic type of the attributes of the generated resultsSourceCallback that generated this contextCopyright © 2017 MuleSoft, Inc.. All rights reserved.