Skip to content

Commit a06d06b

Browse files
committed
Issue #12.
1 parent 4250e52 commit a06d06b

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

compiler/src/main/java/org/hisrc/jsonix/settings/Settings.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
package org.hisrc.jsonix.settings;
22

3+
import java.io.File;
4+
35
import org.kohsuke.args4j.Option;
46

57
public class Settings {
8+
9+
private File targetDirectory;
10+
11+
public File getTargetDirectory() {
12+
return targetDirectory;
13+
}
14+
15+
@Option(name = "-d")
16+
public void setTargetDirectory(File targetDirectory) {
17+
this.targetDirectory = targetDirectory;
18+
}
619

720
private LogLevelSetting logLevel = LogLevelSetting.INFO;
821

0 commit comments

Comments
 (0)