Interface TranslationActionFactory<T extends TranslationActionInstance>
-
- All Known Subinterfaces:
EntityActionFactory,InputTranslationActionFactory,OutputTranslationActionFactory,RegistrationTranslationActionFactory
public interface TranslationActionFactory<T extends TranslationActionInstance>CreatesTranslationActionInstances.- Author:
- K. Benedyczak
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description pl.edu.icm.unity.types.translation.TranslationActionTypegetActionType()TgetBlindInstance(java.lang.String... parameters)Used when an exception is thrown by the basegetInstance(String...)method.TgetInstance(java.lang.String... parameters)Actual factory method
-
-
-
Method Detail
-
getActionType
pl.edu.icm.unity.types.translation.TranslationActionType getActionType()
- Returns:
- definition of an action created by this factory
-
getInstance
T getInstance(java.lang.String... parameters)
Actual factory method- Parameters:
parameters- parameter values.- Returns:
- configured instance
- Throws:
pl.edu.icm.unity.exceptions.EngineException
-
getBlindInstance
T getBlindInstance(java.lang.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:
-
-