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>
Creates
TranslationActionInstance
s.- Author:
- K. Benedyczak
-
Method Summary
Modifier and TypeMethodDescriptiongetBlindInstance
(String... parameters) Used when an exception is thrown by the basegetInstance(String...)
method.getInstance
(String... parameters) Actual factory method
-
Method Details
-
getActionType
TranslationActionType getActionType()- Returns:
- definition of an action created by this factory
-
getInstance
Actual factory method- Parameters:
parameters
- parameter values.- Returns:
- configured instance
- Throws:
EngineException
-
getBlindInstance
Used when an exception is thrown by the basegetInstance(String...)
method. Must not throw any exception (naturally besidesError
;-)). The returned action should generally do nothing besides logging that it is a blind stopper of the real action.- Parameters:
parameters
-- Returns:
-