| Class | Line # | Actions | |||
|---|---|---|---|---|---|
| JobI | 6 | 0 | 0 |
| 1 | package jalview.ws2.actions.api; | |
| 2 | ||
| 3 | import jalview.util.MathUtils; | |
| 4 | import jalview.ws2.api.JobStatus; | |
| 5 | ||
| 6 | public interface JobI | |
| 7 | { | |
| 8 | /** | |
| 9 | * Get a unique job id used internally by jalview. | |
| 10 | * | |
| 11 | * @return unique job id | |
| 12 | */ | |
| 13 | long getInternalId(); | |
| 14 | ||
| 15 | /** | |
| 16 | * Get the status of this job | |
| 17 | * | |
| 18 | * @return job status | |
| 19 | */ | |
| 20 | JobStatus getStatus(); | |
| 21 | ||
| 22 | /** | |
| 23 | * Get the log for this job | |
| 24 | * | |
| 25 | * @return sub job log | |
| 26 | */ | |
| 27 | String getLog(); | |
| 28 | ||
| 29 | /** | |
| 30 | * Get the error log for this job. | |
| 31 | * | |
| 32 | * @return sub job error log | |
| 33 | */ | |
| 34 | String getErrorLog(); | |
| 35 | } |