@@ -9,6 +9,7 @@ public class ApiConfig {
9
9
private List <Shortcut > shortcuts ;
10
10
private String executorsParentClass ;
11
11
private String optionsParserParentClass ;
12
+ private String opencgaClientClassName ;
12
13
13
14
public ApiConfig () {
14
15
}
@@ -17,13 +18,23 @@ public ApiConfig(List<CategoryConfig> categoryConfigList) {
17
18
this .categoryConfigList = categoryConfigList ;
18
19
}
19
20
21
+ public ApiConfig (List <CategoryConfig > categoryConfigList , List <Shortcut > shortcuts , String executorsParentClass ,
22
+ String optionsParserParentClass , String opencgaClientClassName ) {
23
+ this .categoryConfigList = categoryConfigList ;
24
+ this .shortcuts = shortcuts ;
25
+ this .executorsParentClass = executorsParentClass ;
26
+ this .optionsParserParentClass = optionsParserParentClass ;
27
+ this .opencgaClientClassName = opencgaClientClassName ;
28
+ }
29
+
20
30
@ Override
21
31
public String toString () {
22
32
final StringBuilder sb = new StringBuilder ("ApiConfig{" );
23
33
sb .append ("categoryConfigList=" ).append (categoryConfigList );
24
34
sb .append (", shortcuts=" ).append (shortcuts );
25
35
sb .append (", executorsParentClass='" ).append (executorsParentClass ).append ('\'' );
26
36
sb .append (", optionsParserParentClass='" ).append (optionsParserParentClass ).append ('\'' );
37
+ sb .append (", opencgaClientClassName='" ).append (opencgaClientClassName ).append ('\'' );
27
38
sb .append ('}' );
28
39
return sb .toString ();
29
40
}
@@ -63,4 +74,13 @@ public ApiConfig setOptionsParserParentClass(String optionsParserParentClass) {
63
74
this .optionsParserParentClass = optionsParserParentClass ;
64
75
return this ;
65
76
}
77
+
78
+ public String getOpencgaClientClassName () {
79
+ return opencgaClientClassName ;
80
+ }
81
+
82
+ public ApiConfig setOpencgaClientClassName (String opencgaClientClassName ) {
83
+ this .opencgaClientClassName = opencgaClientClassName ;
84
+ return this ;
85
+ }
66
86
}
0 commit comments