package jalview.ws.gui;
import jalview.ws.AWsJob;
+import jalview.ws.api.JobId;
/**
* Bean that holds state for a job
}
+ /*
+ * bean holding submission info for a next-gen ws job
+ */
+ JobId jobHandle = null;
+
+ /**
+ * stash the handle for the job and mark it as submitted
+ *
+ * @param align
+ */
+ public void setJobHandle(JobId align)
+ {
+ jobHandle = align;
+ setJobId(jobHandle.getJobId());
+ submitted = true;
+
+ }
+
+ public JobId getJobHandle()
+ {
+ return jobHandle;
+ }
+
}