Package org.chenile.stm.impl
Class STMActionBase<StateEntityType extends StateEntity>
java.lang.Object
org.chenile.stm.impl.STMActionBase<StateEntityType>
- All Implemented Interfaces:
STMAutomaticStateComputation<StateEntityType>
- Direct Known Subclasses:
BaseCustomComponentPropertiesAction
public class STMActionBase<StateEntityType extends StateEntity>
extends Object
implements STMAutomaticStateComputation<StateEntityType>
A base action that can serve as a "do nothing" action. A good stub to insert custom logic that needs to be
done for all actions ( inserting performance monitors for instance)
- Author:
- Raja Shankar Kolluru
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
cleanUp
(StateEntityType flowContext) protected String
doExecute
(StateEntityType flowContext) protected void
doSetup
(StateEntityType flowContext) final String
execute
(StateEntityType stateEntity)
-
Constructor Details
-
STMActionBase
public STMActionBase()
-
-
Method Details
-
execute
- Specified by:
execute
in interfaceSTMAutomaticStateComputation<StateEntityType extends StateEntity>
- Throws:
Exception
-
doExecute
- Throws:
Exception
-
doSetup
- Throws:
Exception
-
cleanUp
- Throws:
Exception
-