public abstract class InputTranslationAction extends TranslationActionInstance
actionType| Constructor and Description |
|---|
InputTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType,
String[] parameters) |
| Modifier and Type | Method and Description |
|---|---|
MappingResult |
invoke(RemotelyAuthenticatedInput input,
Object mvelCtx,
String currentProfile)
Performs the translation.
|
protected abstract MappingResult |
invokeWrapped(RemotelyAuthenticatedInput input,
Object mvelCtx,
String currentProfile) |
checkParams, equals, getActionType, hashCodepublic InputTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType,
String[] parameters)
public final MappingResult invoke(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
input - mvelCtx - context which can be used in MVEL expression evaluationcurrentProfile - name of the current profilepl.edu.icm.unity.exceptions.EngineException - when an error occurs. You can throw ExecutionBreakException
to gently stop the processing of further rules.protected abstract MappingResult invokeWrapped(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineExceptionCopyright © 2018 Unity. All rights reserved.