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
-
public abstract class InputTranslationAction extends TranslationActionInstance
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
Constructors Constructor Description InputTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType, java.lang.String[] parameters)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description MappingResultinvoke(RemotelyAuthenticatedInput input, java.lang.Object mvelCtx, java.lang.String currentProfile)Performs the translation.protected abstract MappingResultinvokeWrapped(RemotelyAuthenticatedInput input, java.lang.Object mvelCtx, java.lang.String currentProfile)-
Methods inherited from class pl.edu.icm.unity.engine.api.translation.TranslationActionInstance
checkParams, equals, getActionType, hashCode
-
-
-
-
Method Detail
-
invoke
public final MappingResult invoke(RemotelyAuthenticatedInput input, java.lang.Object mvelCtx, java.lang.String currentProfile) throws pl.edu.icm.unity.exceptions.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:
pl.edu.icm.unity.exceptions.EngineException- when an error occurs. You can throwExecutionBreakExceptionto gently stop the processing of further rules.
-
invokeWrapped
protected abstract MappingResult invokeWrapped(RemotelyAuthenticatedInput input, java.lang.Object mvelCtx, java.lang.String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
-