public abstract class RegistrationTranslationAction extends TranslationActionInstance
actionType
Constructor and Description |
---|
RegistrationTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType,
String[] parameters) |
Modifier and Type | Method and Description |
---|---|
void |
invoke(TranslatedRegistrationRequest state,
Object mvelCtx,
String currentProfile)
Performs the translation.
|
protected abstract void |
invokeWrapped(TranslatedRegistrationRequest state,
Object mvelCtx,
String currentProfile) |
checkParams, equals, getActionType, hashCode
public RegistrationTranslationAction(pl.edu.icm.unity.types.translation.TranslationActionType actionType, String[] parameters)
public final void invoke(TranslatedRegistrationRequest state, Object mvelCtx, String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
state
- 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 void invokeWrapped(TranslatedRegistrationRequest state, Object mvelCtx, String currentProfile) throws pl.edu.icm.unity.exceptions.EngineException
pl.edu.icm.unity.exceptions.EngineException
Copyright © 2019 Unity. All rights reserved.