Interface TranslationActionFactory<T extends TranslationActionInstance>

All Known Subinterfaces:
EntityActionFactory, InputTranslationActionFactory, OutputTranslationActionFactory, RegistrationTranslationActionFactory
All Known Implementing Classes:
AbstractInputTranslationActionFactory, AbstractOutputTranslationActionFactory, IncludeInputProfileActionFactory, IncludeOutputProfileActionFactory

public interface TranslationActionFactory<T extends TranslationActionInstance>
Author:
K. Benedyczak
  • Method Details

    • getActionType

      TranslationActionType getActionType()
      Returns:
      definition of an action created by this factory
    • getInstance

      T getInstance(String... parameters)
      Actual factory method
      Parameters:
      parameters - parameter values.
      Returns:
      configured instance
      Throws:
      EngineException
    • getBlindInstance

      T getBlindInstance(String... parameters)
      Used when an exception is thrown by the base getInstance(String...) method. Must not throw any exception (naturally besides Error ;-)). The returned action should generally do nothing besides logging that it is a blind stopper of the real action.
      Parameters:
      parameters -
      Returns: