*/
package jalview.ws;
+import jalview.analysis.SeqsetUtils.SequenceInfo;
import jalview.ws.params.ArgumentI;
import jalview.ws.params.WsParamSetI;
protected List<ArgumentI> arguments = null;
- protected Hashtable<String, Map> SeqNames = new Hashtable();
+ protected Hashtable<String, SequenceInfo> SeqNames = new Hashtable();
public AWsJob()
{
arguments = paramset;
}
+
+ public boolean isPresetJob()
+ {
+ return preset!=null && arguments==null;
+ }
+
+ public List<ArgumentI> getArguments()
+ {
+ return arguments;
+ }
+
+ public WsParamSetI getPreset()
+ {
+ return preset;
+ }
+
+ long nextChunk = 0;
+
+ /**
+ * update the record of the last position in the log file read for this job
+ *
+ * @param nextChunk
+ */
+ public void setnextChunk(long nextChunk)
+ {
+ this.nextChunk = nextChunk;
+ }
+
+ public long getNextChunk()
+ {
+ return nextChunk;
+ }
}