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>
CreatesTranslationActionInstance
s.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TranslationActionType
getActionType()
T
getBlindInstance(String... parameters)
Used when an exception is thrown by the basegetInstance(String...)
method.T
getInstance(String... parameters)
Actual factory method
-
-
-
Method Detail
-
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 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:
-
-