1 package jalview.ws.api;
7 // TODO: JobId could include sequenceI anonymisation stuff
8 // TODO: getProgress() -> input stream to log file for job.
9 private String serviceType;
11 private String serviceImpl;
14 // TODO: java2script instant
15 private String creationTime=null;
17 public JobId(String serviceType, String serviceImpl, String id)
19 this.serviceType = serviceType;
20 this.serviceImpl = serviceImpl;
26 // creationTime = Date.from(Instant.now()).toString();
28 if (creationTime==null)
30 creationTime = new Date().toString(); // j2s only
35 public String toString()
37 return "" + serviceType + ":" + serviceImpl + ":" + jobId + "\nCreated "
41 * a stringified version of the Job Id that can be saved in project.
43 public String getURI()
48 public String getServiceType()
53 public String getServiceImpl()
58 public String getJobId()
63 public String getCreationTime()