Class AbstractActivityEngine
java.lang.Object
io.vertigo.orchestra.impl.services.execution.AbstractActivityEngine
- All Implemented Interfaces:
ActivityEngine
Activity engine abstrait offrant des services communs (logger)
- Version:
- $Id$
- Author:
- mlaroche.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionerrorPostTreatment(ActivityExecutionWorkspace workspace, Exception e) Post-traitement à effectuer en cas d'erreur.Getter for the loggersetActivityPending(ActivityExecutionWorkspace workspace) Place une activité en attentePost-traitement à effectuer en cas de succès.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.vertigo.orchestra.services.execution.ActivityEngine
execute
-
Constructor Details
-
AbstractActivityEngine
public AbstractActivityEngine()
-
-
Method Details
-
getLogger
Getter for the logger -
successfulPostTreatment
Post-traitement à effectuer en cas de succès.- Specified by:
successfulPostTreatmentin interfaceActivityEngine- Parameters:
workspace- le workspace d'entrée- Returns:
- le workspace de sortie
-
errorPostTreatment
public ActivityExecutionWorkspace errorPostTreatment(ActivityExecutionWorkspace workspace, Exception e) Post-traitement à effectuer en cas d'erreur.- Specified by:
errorPostTreatmentin interfaceActivityEngine- Parameters:
workspace- le workspace d'entréee- l'exception rencontrée lors du traitement- Returns:
- le workspace de sortie
-
setActivityPending
Place une activité en attente- Parameters:
workspace- le worspace de l'activité- Returns:
- le workspace modifié
-