Package tsl2.nano.cursus
Class Exsecutio<CONTEXT>
java.lang.Object
tsl2.nano.cursus.Exsecutio<CONTEXT>
- Type Parameters:
CONTEXT-
- All Implemented Interfaces:
ICommand<CONTEXT>,Serializable,Runnable
- Direct Known Subclasses:
EExsecutio
The command that do changes on an instance path. This class should be overwritten to implement specific change commands.
- Author:
- Tom
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanCalled before run to perhaps ignore the run...returns true...to be overwritten...getName()booleanprotected voidCalled after run...does nothing...to be overwritten...protected voidCalled before run...does nothing...to be overwritten...voidrun()voidvoidsetContext(CONTEXT context) toString()voidundo()
-
Field Details
-
name
-
mutatio
-
effectus
-
description
-
-
Constructor Details
-
Exsecutio
public Exsecutio() -
Exsecutio
-
-
Method Details
-
run
public void run() -
getContext
- Specified by:
getContextin interfaceICommand<CONTEXT>
-
setContext
- Specified by:
setContextin interfaceICommand<CONTEXT>
-
undo
public void undo() -
runWith
-
canRunOn
Called before run to perhaps ignore the run...returns true...to be overwritten...- Parameters:
iChange-- Returns:
- true
-
preCheck
Called before run...does nothing...to be overwritten...- Parameters:
iChange-
-
postCheck
Called after run...does nothing...to be overwritten...- Parameters:
iChange-
-
hasFixedContent
public boolean hasFixedContent() -
getMutatio
-
getEffectus
-
getName
-
toString
-