public abstract class MappingRuleActionBase extends Object implements MappingRuleAction
| Constructor and Description |
|---|
MappingRuleActionBase() |
| Modifier and Type | Method and Description |
|---|---|
abstract MappingRuleResult |
execute(VariableContext variables)
This method is the main logic of the action, it shall determine based on
the mapping context, what should be the action's result.
|
MappingRuleResult |
getFallback()
Returns the fallback action to be taken if the main action (result returned
by the execute method) fails.
|
MappingRuleAction |
setFallbackDefaultPlacement()
Sets the fallback method to place to default, if the action cannot be
executed the application will be placed into the default queue, if the
default queue does not exist the application will get rejected.
|
MappingRuleAction |
setFallbackReject()
Sets the fallback method to reject, if the action cannot be executed the
application will get rejected.
|
MappingRuleAction |
setFallbackSkip()
Sets the fallback method to skip, if the action cannot be executed
We move onto the next rule, ignoring this one.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic MappingRuleResult getFallback()
getFallback in interface MappingRuleActionpublic MappingRuleAction setFallbackReject()
setFallbackReject in interface MappingRuleActionpublic MappingRuleAction setFallbackSkip()
setFallbackSkip in interface MappingRuleActionpublic MappingRuleAction setFallbackDefaultPlacement()
setFallbackDefaultPlacement in interface MappingRuleActionpublic abstract MappingRuleResult execute(VariableContext variables)
execute in interface MappingRuleActionvariables - The variable context, which contains all the variablesCopyright © 2008–2024 Apache Software Foundation. All rights reserved.