Class InputTranslationAction

    • Constructor Detail

      • InputTranslationAction

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

      • invoke

        public final MappingResult invoke​(RemotelyAuthenticatedInput input,
                                          Object mvelCtx,
                                          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.