X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fjalview%2Fws%2FAWsJob.java;h=4a9cb74e9cd6c1274d12f859eb0a58cec76cc87d;hb=c794c5033adeee182b03a5ea92c0a7495a29661f;hp=bb203fc73a8041881c4b51f5c0c82afea72acbcb;hpb=8590d9e6944ed8d8d624d04eac5e56d0ca97c0ed;p=jalview.git diff --git a/src/jalview/ws/AWsJob.java b/src/jalview/ws/AWsJob.java index bb203fc..4a9cb74 100644 --- a/src/jalview/ws/AWsJob.java +++ b/src/jalview/ws/AWsJob.java @@ -251,4 +251,36 @@ public abstract class AWsJob arguments = paramset; } + + public boolean isPresetJob() + { + return preset!=null && arguments==null; + } + + public List 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; + } }