Class OutputTranslationAction


  • public abstract class OutputTranslationAction
    extends TranslationActionInstance
    Base class of all output profile action instances. Ensures proper logging of action invocation.
    Author:
    K. Benedyczak
    • Constructor Detail

      • OutputTranslationAction

        public OutputTranslationAction​(pl.edu.icm.unity.types.translation.TranslationActionType actionType,
                                       java.lang.String[] parameters)
    • Method Detail

      • invoke

        public void invoke​(TranslationInput input,
                           java.lang.Object mvelCtx,
                           java.lang.String currentProfile,
                           TranslationResult result)
                    throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException
      • invokeWrapped

        protected abstract void invokeWrapped​(TranslationInput input,
                                              java.lang.Object mvelCtx,
                                              java.lang.String currentProfile,
                                              TranslationResult result)
                                       throws pl.edu.icm.unity.exceptions.EngineException
        Throws:
        pl.edu.icm.unity.exceptions.EngineException