Class JobStateResponse
java.lang.Object
uk.ac.manchester.spinnaker.alloc.web.JobStateResponse
public class JobStateResponse extends Object
The state of a job.
- Author:
- Donal Fellows
-
Field Summary
Fields Modifier and Type Field Description URI
chipRef
Where the chip info is.URI
keepaliveRef
Where the keepalives go.URI
machineRef
Where the machine details are.CreateJobRequest
originalRequest
The original request that created the job.URI
powerRef
Where the power controls are.URI
proxyRef
How to connect to the proxy. -
Constructor Summary
Constructors Constructor Description JobStateResponse()
Make an instance without any references to other resources. -
Method Summary
Modifier and Type Method Description Instant
getFinishTime()
String
getKeepaliveHost()
Instant
getKeepAliveTime()
String
getOwner()
String
getReason()
Instant
getStartTime()
JobState
getState()
-
Field Details
-
keepaliveRef
Where the keepalives go. -
machineRef
Where the machine details are. -
powerRef
Where the power controls are. -
chipRef
Where the chip info is. -
proxyRef
How to connect to the proxy. Proxy is its own special protocol. -
originalRequest
The original request that created the job. Or at least the non-ignored parts of it.
-
-
Constructor Details
-
JobStateResponse
public JobStateResponse()Make an instance without any references to other resources.
-
-
Method Details
-
getState
- Returns:
- The formal state of the job
-
getStartTime
- Returns:
- When the job started.
-
getReason
- Returns:
- The reason the job was destroyed.
-
getKeepaliveHost
- Returns:
- What host (if any) is keeping the job alive?
-
getOwner
- Returns:
- Who created the job?
-
getFinishTime
- Returns:
- When the job finished.
-
getKeepAliveTime
- Returns:
- When the job last had a keep-alive message.
-