Skip to contentMethod: KommandoOhneExceptionOhneResultat()
1: package schnittstelle.kommandoArchitektur;
2:
3: /**
4: * Ein Kommando welches kein Resultat liefert und bei welchem keine Exception auftreten kann.
5: */
6: public abstract class KommandoOhneExceptionOhneResultat extends Kommando {
7:         
8:         @Override
9:         protected void executeCommand() {
10:                 this.doIt();
11:         }
12:         
13:         /**
14:          * Diese Operation definiert was genau passieren soll, wenn das Kommando ausgeführt wird.
15:          */
16:         protected abstract void doIt();
17: }