Skip to content

Package: KommandoOhneExceptionOhneResultat

KommandoOhneExceptionOhneResultat

nameinstructionbranchcomplexitylinemethod
KommandoOhneExceptionOhneResultat()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%
executeCommand()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

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: }