package org.gcube.portlets.user.dataminermanagertester.shared.config; import java.io.Serializable; import java.util.ArrayList; /** * * @author Giancarlo Panichi * * */ public class DMBatchConfig implements Serializable { private static final long serialVersionUID = 4251753074961060428L; private ArrayList dms; private String token; private String protocol; private String testType; public DMBatchConfig() { super(); ***REMOVED*** public DMBatchConfig(ArrayList dms, String token, String protocol, String testType) { super(); this.dms = dms; this.token = token; this.protocol = protocol; this.testType = testType; ***REMOVED*** public ArrayList getDms() { return dms; ***REMOVED*** public void setDms(ArrayList dms) { this.dms = dms; ***REMOVED*** public ArrayList getDmsUrls() { ArrayList dmsUrls = new ArrayList<>(); if (protocol != null) { if (dms != null && !dms.isEmpty()) { for (int i = 0; i < dms.size(); i++) { String dmName = dms.get(i); String url = new String(protocol + "://" + dmName + "/wps/"); dmsUrls.add(url); ***REMOVED*** ***REMOVED*** ***REMOVED*** return dmsUrls; ***REMOVED*** public String getToken() { return token; ***REMOVED*** public void setToken(String token) { this.token = token; ***REMOVED*** public String getProtocol() { return protocol; ***REMOVED*** public void setProtocol(String protocol) { this.protocol = protocol; ***REMOVED*** public String getTestType() { return testType; ***REMOVED*** public void setTestType(String testType) { this.testType = testType; ***REMOVED*** @Override public String toString() { return "DMBatchConfig [dms=" + dms + ", token=" + token + ", protocol=" + protocol + ", testType=" + testType + "]"; ***REMOVED*** ***REMOVED***