Package net.sf.basedb.util.jobagent
Class JobInfo
java.lang.Object
net.sf.basedb.util.jobagent.JobInfo
Hold information about a job that is running on a job agent.
- Version:
- 2.6
- Author:
- nicklas
- Last modified
- $Date: 2015-05-12 11:27:08 +0200 (ti, 12 maj 2015) $
-
Field Summary
-
Constructor Summary
ConstructorDescriptionCreate a new JobInfo object using information from the answer to aJobAgentConnection
request.JobInfo
(Job job, Job.ExecutionTime slot) Create a new JobInfo object. -
Method Summary
-
Field Details
-
jobId
private int jobId -
slot
-
-
Constructor Details
-
JobInfo
Create a new JobInfo object. -
JobInfo
Create a new JobInfo object using information from the answer to aJobAgentConnection
request.
-
-
Method Details
-
getJobId
public int getJobId()Get the ID of the job. -
getSlot
Get the slot the job is using on the job agent. -
toString
Convert the information to a string that is suitable for sening as an answer to aJobAgentConnection
object. -
getValue
-
equals
-
hashCode
public int hashCode()
-