1 | void setTrace(TraceAttr trace) {↵ | | 1 | void setVerbose(VerboseAttr verbose) {↵
|
2 | this.trace = trace.getValue();↵ | | 2 | this.verbose = verbose.getValue();↵
|
3 | }↵ | | 3 | }↵
|
|
|
4 | /**↵ | | 4 | /**↵
|
5 | * Turns on or off tracing and directs the resultant trace output Valid↵ | | 5 | * Whether lots of warnings and ↵
|
6 | * values are: "trace", "trace1", "trace2" and "notrace". "trace" and↵ | | |
|
7 | * "trace2".↵ | | 6 | error messages should be generated↵
|
8 | * @param trace the value to set.↵ | | 7 | * @param verbose the value to set - verbose<level> or noverbose.↵
|
9 | */↵ | | 8 | */↵
|
10 | public void setTrace(String trace) {↵ | | 9 | public void setVerbose(String verbose) {↵
|
11 | TraceAttr t = new TraceAttr();↵ | | 10 | VerboseAttr v = new VerboseAttr();↵
|
|
12 | t.setValue(trace);↵ | | 11 | v.setValue(verbose);↵
|
13 | setTrace(t);↵ | | 12 | setVerbose(v);↵
|
14 | } | | 13 | }
|