class DatabaseUpdateState extends Object implements CycleState
CycleState interface. It performs the
update step of the database.CycleState,
Database| Constructor and Description |
|---|
DatabaseUpdateState()
Empty constructor of the class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handlerMethod(CycleHandler STATE_CONTEXT,
String NAME,
RuleSet events)
This is the implementation of the
CycleState#handlerMethod(). |
private void |
updates(RuleSet events)
This is the private action of the state.
|
public void handlerMethod(CycleHandler STATE_CONTEXT, String NAME, RuleSet events)
CycleState#handlerMethod(). Here it performs the update of the database.handlerMethod in interface CycleStateSTATE_CONTEXT - the manager of the state which is here the only instance of
CycleHandler.NAME - the name of the step. It has no use except to debug.events - an object RuleSet that contains the events/actions
that will be or have been performed during the very cycle.CycleHandler.handlerMethod(String)private void updates(RuleSet events)
handlerMethod(). Here this is the update of the
database.events - an object RuleSet that contains the events/actions
that will be or have been performed during the very cycle.Database.updates(RuleSet),
handlerMethod(CycleHandler, String, RuleSet)