Skip to content

Package: DevtypeOption

DevtypeOption

nameinstructionbranchcomplexitylinemethod
DevtypeOption(Character)
M: 0 C: 6
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 3
100%
M: 0 C: 1
100%
getDevtype()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
M: 0 C: 1
100%
isDevtypeOption()
M: 2 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 1 C: 0
0%
M: 1 C: 0
0%

Coverage

1: package generator.option;
2:
3: /**
4: *
5: * @author Muri
6: *
7: */
8: public class DevtypeOption extends AbstractOption {
9:
10:         /**
11:          * Devtype.
12:          */
13:         private final transient Character devtype;
14:
15:         /**
16:          *
17:          * @param devtype
18:          * Character
19:          */
20:         public DevtypeOption(final Character devtype) {
21:                 super();
22:                 this.devtype = devtype;
23:         }
24:
25:         /**
26:          * @return the devtype
27:          */
28:         public Character getDevtype() {
29:                 return this.devtype;
30:         }
31:
32:         /**
33:          *
34:          * @return true
35:          */
36:         @Override
37:         public boolean isDevtypeOption() {
38:                 return true;
39:         }
40: }