Add proxy info to conf file and swing ui
This commit is contained in:
@@ -44,6 +44,7 @@ public class Configuration {
|
||||
public String static_exeDirName;
|
||||
private String login;
|
||||
private String password;
|
||||
private String proxy;
|
||||
private int maxUploadingJob;
|
||||
private int nbCores;
|
||||
private ComputeType computeMethod;
|
||||
@@ -57,6 +58,7 @@ public class Configuration {
|
||||
public Configuration(File cache_dir_, String login_, String password_) {
|
||||
this.login = login_;
|
||||
this.password = password_;
|
||||
this.proxy = null;
|
||||
this.static_exeDirName = "exe";
|
||||
this.maxUploadingJob = 1;
|
||||
this.nbCores = -1; // ie not set
|
||||
@@ -93,6 +95,14 @@ public class Configuration {
|
||||
this.password = password_;
|
||||
}
|
||||
|
||||
public String getProxy() {
|
||||
return this.proxy;
|
||||
}
|
||||
|
||||
public void setProxy(String url) {
|
||||
this.proxy = url;
|
||||
}
|
||||
|
||||
public int maxUploadingJob() {
|
||||
return this.maxUploadingJob;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user