1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18 package org.apache.commons.jci.compilers;
19
20
21
22
23
24
25
26
27
28
29
30 public class JavaCompilerSettings {
31
32 private String targetVersion;
33 private String sourceVersion;
34 private String sourceEncoding;
35 private boolean warnings;
36 private boolean deprecations;
37 private boolean verbose;
38
39
40 public void setTargetVersion( final String pTargetVersion ) {
41 targetVersion = pTargetVersion;
42 }
43
44 public String getTargetVersion() {
45 return targetVersion;
46 }
47
48
49 public void setSourceVersion( final String pSourceVersion ) {
50 sourceVersion = pSourceVersion;
51 }
52
53 public String getSourceVersion() {
54 return sourceVersion;
55 }
56
57
58 public void setSourceEncoding( final String pSourceEncoding ) {
59 sourceEncoding = pSourceEncoding;
60 }
61
62 public String getSourceEncoding() {
63 return sourceEncoding;
64 }
65
66
67 public void setWarnings( final boolean pWarnings ) {
68 warnings = pWarnings;
69 }
70
71 public boolean isWarnings() {
72 return warnings;
73 }
74
75
76 public void setDeprecations( final boolean pDeprecations ) {
77 deprecations = pDeprecations;
78 }
79
80 public boolean isDeprecations() {
81 return deprecations;
82 }
83
84
85 public void setVerbose( final boolean pVerbose ) {
86 verbose = pVerbose;
87 }
88
89 public boolean isVerbose() {
90 return verbose;
91 }
92
93 }