1 16 17 package org.webdocwf.util.loader.wizard; 18 19 20 25 public class OctopusLoaderData { 26 27 private static String [] logModes = { 28 "none", "normal", "full"}; 29 private String logMode = ""; 30 private String restartIndicator = ""; 31 private String userId = ""; 32 private String variables = ""; 33 private String logFileDirectory = ""; 34 private String logFileName = ""; 35 private String vendorConfFile = ""; 36 private String onErrorContinue = ""; 37 private String additionalPath = ""; 38 private String commitCount = ""; 39 private String returnCode = ""; 40 private String pathToXmlFile = ""; 41 private String includeTables = ""; 42 private String confJarStructure = ""; 43 44 45 49 public void setConfJarStructure(String conf_jar_structure){ 50 confJarStructure=conf_jar_structure; 51 } 52 53 57 public String getConfJarStructure(){ 58 return confJarStructure; 59 } 60 61 62 66 public void setIncludeTables(String include_Tables) { 67 this.includeTables = include_Tables; 68 } 69 70 74 public String getIncludeTables() { 75 return this.includeTables; 76 } 77 78 81 public OctopusLoaderData() { 82 } 83 84 88 public void setLogMode(String log_Mode) { 89 this.logMode = log_Mode; 90 } 91 92 96 public static String [] getLogModes() { 97 return logModes; 98 } 99 100 104 public String getLogMode() { 105 return logMode; 106 } 107 108 112 public void setRestartIndicator(String restart_Indicator) { 113 this.restartIndicator = restart_Indicator; 114 } 115 116 120 public String getRestartIndicator() { 121 return this.restartIndicator; 122 } 123 124 128 public void setUserId(String user_Id) { 129 this.userId = user_Id; 130 } 131 132 136 public String getUserId() { 137 return this.userId; 138 } 139 140 144 public void setVariables(String _variables) { 145 this.variables = _variables; 146 } 147 148 152 public String getVariables() { 153 return this.variables; 154 } 155 156 160 public void setLogFileDir(String log_FileDirectory) { 161 this.logFileDirectory = log_FileDirectory; 162 } 163 164 168 public String getLogFileDir() { 169 return this.logFileDirectory; 170 } 171 172 176 public void setLogFileName(String log_FileName) { 177 this.logFileName = log_FileName; 178 } 179 180 184 public String getLogFileName() { 185 return this.logFileName; 186 } 187 188 192 public void setVendorConf(String vendor_conf) { 193 this.vendorConfFile = vendor_conf; 194 } 195 196 200 public String getVendorConf() { 201 return this.vendorConfFile; 202 } 203 204 208 public void setOnErrorCon(String on_errorcontinue) { 209 this.onErrorContinue = on_errorcontinue; 210 } 211 212 216 public String getOnErrorCon() { 217 return this.onErrorContinue; 218 } 219 220 224 public void setAdditionalPaths(String additionl_Path) { 225 this.additionalPath = additionl_Path; 226 } 227 228 232 public String getAdditionalPaths() { 233 return this.additionalPath; 234 } 235 236 240 public void setCommitCount(String commit_Count) { 241 this.commitCount = commit_Count; 242 } 243 244 248 public String getCommitCount() { 249 return this.commitCount; 250 } 251 252 256 public void setReturnCode(String return_Code) { 257 this.returnCode = return_Code; 258 } 259 260 264 public String getReturnCode() { 265 return this.returnCode; 266 } 267 268 272 public void setPathToXml(String path_to_xml) { 273 this.pathToXmlFile = path_to_xml; 274 } 275 276 280 public String getPathToXml() { 281 return this.pathToXmlFile; 282 } 283 284 public String toConfString() { 285 String retVal = ""; 286 retVal += "\nLoader.AdditionalPaths="+this.getAdditionalPaths(); 287 retVal += "\nLoader.CommitCount="+this.getCommitCount(); 288 retVal += "\nLoader.ConfJarStructure="+this.getConfJarStructure(); 289 retVal += "\nLoader.IncludeTables="+this.getIncludeTables(); 290 retVal += "\nLoader.LogFileDir="+this.getLogFileDir(); 291 retVal += "\nLoader.LogFileName="+this.getLogFileName(); 292 retVal += "\nLoader.LogMode="+this.getLogMode(); 293 retVal += "\nLoader.ErrorConntinue="+this.getOnErrorCon(); 294 retVal += "\nLoader.PathToXml="+this.getPathToXml(); 295 retVal += "\nLoader.RestartIndicator="+this.getRestartIndicator(); 296 retVal += "\nLoader.ReturnCode="+this.getReturnCode(); 297 retVal += "\nLoader.UserId="+this.getUserId(); 298 retVal += "\nLoader.Variables="+this.getVariables(); 299 retVal += "\nLoader.VendorConf="+this.getVendorConf(); 300 return retVal; 301 } 302 303 } 304 | Popular Tags |