Class AbstractOutputTranslationActionFactory
java.lang.Object
pl.edu.icm.unity.engine.translation.out.action.AbstractOutputTranslationActionFactory
- All Implemented Interfaces:
OutputTranslationActionFactory,TranslationActionFactory<OutputTranslationAction>
- Direct Known Subclasses:
IncludeOutputProfileActionFactory
public abstract class AbstractOutputTranslationActionFactory
extends Object
implements OutputTranslationActionFactory
Boilerplate code for the output profile's
OutputTranslationActionFactory implementations.- Author:
- K. Benedyczak
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractOutputTranslationActionFactory(String name, ActionParameterDefinition... parameters) -
Method Summary
Modifier and TypeMethodDescriptiongetBlindInstance(String... parameters) Used when an exception is thrown by the baseTranslationActionFactory.getInstance(String...)method.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface pl.edu.icm.unity.engine.api.translation.TranslationActionFactory
getInstance
-
Constructor Details
-
AbstractOutputTranslationActionFactory
-
-
Method Details
-
getActionType
- Specified by:
getActionTypein interfaceTranslationActionFactory<OutputTranslationAction>- Returns:
- definition of an action created by this factory
-
getBlindInstance
Description copied from interface:TranslationActionFactoryUsed when an exception is thrown by the baseTranslationActionFactory.getInstance(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.- Specified by:
getBlindInstancein interfaceTranslationActionFactory<OutputTranslationAction>- Returns:
-