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) |
equals, getActionType, hashCode
public 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.EngineException
Copyright © 2017 Unity. All rights reserved.