CONTEXT - public class Exsecutio<CONTEXT> extends Object implements ICommand<CONTEXT>, Serializable
| Modifier and Type | Field and Description |
|---|---|
protected String |
description |
protected List<? extends Effectus> |
effectus |
protected Mutatio |
mutatio |
protected String |
name |
| Constructor and Description |
|---|
Exsecutio() |
Exsecutio(String name,
Mutatio mutatio,
String description) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canRunOn(IChange iChange)
Called before run to perhaps ignore the run...returns true...to be overwritten...
|
CONTEXT |
getContext() |
List<? extends Effectus> |
getEffectus() |
Mutatio |
getMutatio() |
String |
getName() |
boolean |
hasFixedContent() |
protected void |
postCheck(IChange iChange)
Called after run...does nothing...to be overwritten...
|
protected void |
preCheck(IChange iChange)
Called before run...does nothing...to be overwritten...
|
void |
run() |
void |
runWith(IChange... changes) |
void |
setContext(CONTEXT context) |
String |
toString() |
void |
undo() |
protected String name
protected Mutatio mutatio
protected String description
public CONTEXT getContext()
getContext in interface ICommand<CONTEXT>public void setContext(CONTEXT context)
setContext in interface ICommand<CONTEXT>public void runWith(IChange... changes)
protected boolean canRunOn(IChange iChange)
iChange - protected void preCheck(IChange iChange)
iChange - protected void postCheck(IChange iChange)
iChange - public boolean hasFixedContent()
public Mutatio getMutatio()
Copyright © 2012–2020. All rights reserved.