Class InputTranslationAction
java.lang.Object
pl.edu.icm.unity.types.translation.TranslationAction
pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
pl.edu.icm.unity.engine.api.translation.in.InputTranslationAction
- Direct Known Subclasses:
BlindStopperInputAction
,IncludeInputProfileActionFactory.IncludeInputProfileAction
Instance of this interface is configured with parameters and performs a translation
of a remotely obtained information about a client.
- Author:
- K. Benedyczak
-
Field Summary
Fields inherited from class pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
actionType
-
Constructor Summary
ConstructorDescriptionInputTranslationAction
(TranslationActionType actionType, String[] parameters) -
Method Summary
Modifier and TypeMethodDescriptionfinal MappingResult
invoke
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) Performs the translation.protected abstract MappingResult
invokeWrapped
(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) Methods inherited from class pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
checkParams, equals, getActionType, hashCode
Methods inherited from class pl.edu.icm.unity.types.translation.TranslationAction
getName, getParameters, toString
-
Constructor Details
-
InputTranslationAction
-
-
Method Details
-
invoke
public final MappingResult invoke(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) throws EngineException Performs the translation.- Parameters:
input
-mvelCtx
- context which can be used in MVEL expression evaluationcurrentProfile
- name of the current profile- Returns:
- result of the mapping
- Throws:
EngineException
- when an error occurs. You can throwExecutionBreakException
to gently stop the processing of further rules.
-
invokeWrapped
protected abstract MappingResult invokeWrapped(RemotelyAuthenticatedInput input, Object mvelCtx, String currentProfile) throws EngineException - Throws:
EngineException
-