Class InputTranslationAction

    • Constructor Detail

      • InputTranslationAction

        public InputTranslationAction​(pl.edu.icm.unity.types.translation.TranslationActionType actionType,
                                      java.lang.String[] parameters)
    • 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 evaluation
        currentProfile - name of the current profile
        Returns:
        result of the mapping
        Throws:
        pl.edu.icm.unity.exceptions.EngineException - when an error occurs. You can throw ExecutionBreakException to 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