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 TypeMethodDescriptionpl.edu.icm.unity.base.translation.TranslationActionType
getBlindInstance
(String... parameters) Used when an exception is thrown by the basegetInstance(String...)
method.getInstance
(String... parameters) Actual factory method
-
Method Details
-
getActionType
pl.edu.icm.unity.base.translation.TranslationActionType getActionType()- Returns:
- definition of an action created by this factory
-
getInstance
Actual factory method- Parameters:
parameters
- parameter values.- Returns:
- configured instance
- Throws:
pl.edu.icm.unity.base.exceptions.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:
-