|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.nih.nci.caarray.domain.project.UserVisibleJob
public class UserVisibleJob
This object is a synthetic "job" used to represent the aggregate of a set of split jobs. Since job splitting should be transparent to the user, this is the object represented on the UI instead of the individual split jobs
Constructor Summary | |
---|---|
UserVisibleJob(Job childJob,
int position)
Create an object representing the given job and all its siblings. |
Method Summary | |
---|---|
java.util.List<BaseJob> |
getChildren()
Return an empty list if there are no children. |
long |
getJobEntityId()
|
java.lang.String |
getJobEntityName()
|
java.util.UUID |
getJobId()
|
int |
getJobsProcessed()
|
JobStatus |
getJobStatus()
|
JobType |
getJobType()
|
java.lang.String |
getOwnerName()
|
ParentJob |
getParent()
|
int |
getPosition()
|
java.util.Map<JobStatus,java.lang.Integer> |
getStatusCounts()
|
java.util.Date |
getTimeRequested()
The time requested is never null. |
java.util.Date |
getTimeStarted()
|
boolean |
getUserCanCancelJob()
A user can only cancel a job which is in_queue, or one of its children is in_queue. |
boolean |
getUserHasOwnership()
|
boolean |
getUserHasReadAccess()
|
boolean |
getUserHasWriteAccess()
|
boolean |
isInProgress()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UserVisibleJob(Job childJob, int position)
childJob
- one of the sibling jobs this object is an aggregate ofposition
- the position of the job in the job queue at the time this snapshot is createdMethod Detail |
---|
public ParentJob getParent()
getParent
in interface BaseJob
public java.util.List<BaseJob> getChildren()
getChildren
in interface BaseJob
public java.util.UUID getJobId()
getJobId
in interface BaseJob
public java.lang.String getOwnerName()
getOwnerName
in interface BaseJob
public java.lang.String getJobEntityName()
getJobEntityName
in interface BaseJob
public long getJobEntityId()
getJobEntityId
in interface BaseJob
public JobType getJobType()
getJobType
in interface BaseJob
public java.util.Date getTimeRequested()
getTimeRequested
in interface BaseJob
public java.util.Date getTimeStarted()
getTimeStarted
in interface BaseJob
public JobStatus getJobStatus()
getJobStatus
in interface BaseJob
public boolean isInProgress()
isInProgress
in interface BaseJob
public boolean getUserHasReadAccess()
getUserHasReadAccess
in interface Job
public boolean getUserHasWriteAccess()
getUserHasWriteAccess
in interface Job
public boolean getUserHasOwnership()
getUserHasOwnership
in interface Job
public int getPosition()
getPosition
in interface Job
public boolean getUserCanCancelJob()
public java.util.Map<JobStatus,java.lang.Integer> getStatusCounts()
public int getJobsProcessed()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |