1 package jalview.ws.params;
5 public abstract class AutoCalcSetting
8 protected boolean autoUpdate;
10 protected WsParamSetI preset;
12 protected List<ArgumentI> jobArgset;
14 public AutoCalcSetting(WsParamSetI preset2, List<ArgumentI> jobArgset2,
17 autoUpdate = autoUpdate2;
19 jobArgset = jobArgset2;
22 public boolean isAutoUpdate()
27 public void setAutoUpdate(boolean autoUpdate)
29 this.autoUpdate = autoUpdate;
32 public WsParamSetI getPreset()
37 public void setPreset(WsParamSetI preset)
39 // TODO: test if service URL is in presets
43 public List<ArgumentI> getArgumentSet()
50 * @return characteristic URI for this service. The URI should reflect the
51 * type and version of this service, enabling the service client code
52 * to recover the correct client for this calculation.
54 public abstract String getServiceURI();
57 * return any concrete service endpoints associated with this calculation.
58 * built in services should return a zero length array
62 public abstract String[] getServiceURLs();
66 * @return stringified representation of the parameters for this setting
68 public abstract String getWsParamFile();