1 package fr.in2p3.jsaga.adaptor.job;
2
3 import fr.in2p3.jsaga.adaptor.job.monitor.JobStatus;
4
5
6
7
8
9
10
11
12
13
14
15
16
17 public class EmulatorJobStatus extends JobStatus {
18 public EmulatorJobStatus(String jobId, SubState stateCode) {
19 super(jobId, stateCode, stateCode.toString());
20 }
21
22 public EmulatorJobStatus(String jobId, SubState stateCode, Exception exception) {
23 super(jobId, stateCode, stateCode.toString(), exception.getMessage());
24 }
25
26 public String getModel() {
27 return "Emulator";
28 }
29
30 public SubState getSubState() {
31 return (SubState) m_nativeStateCode;
32 }
33 }