gov.nih.nci.caarray.domain.project
Interface BaseJob

All Known Subinterfaces:
ExecutableJob, Job, ParentJob
All Known Implementing Classes:
JobSnapshot, UserVisibleJob

public interface BaseJob

Author:
jscott

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()
           
 JobStatus getJobStatus()
           
 JobType getJobType()
           
 java.lang.String getOwnerName()
           
 ParentJob getParent()
           
 java.util.Date getTimeRequested()
          The time requested is never null.
 java.util.Date getTimeStarted()
           
 boolean isInProgress()
           
 

Method Detail

getJobId

java.util.UUID getJobId()
Returns:
the job id

getOwnerName

java.lang.String getOwnerName()
Returns:
the name of the user who owns the job

getJobEntityName

java.lang.String getJobEntityName()
Returns:
the name of the experiment or array desing related to the job.

getJobEntityId

long getJobEntityId()
Returns:
the id of the experiment or array design related to the job.

getJobType

JobType getJobType()
Returns:
the jobType

getTimeRequested

java.util.Date getTimeRequested()
The time requested is never null.

Returns:
the timeRequested

getTimeStarted

java.util.Date getTimeStarted()
Returns:
the timeStarted

getJobStatus

JobStatus getJobStatus()
Returns:
the job status

isInProgress

boolean isInProgress()
Returns:
true if the job is in progress

getParent

ParentJob getParent()
Returns:
parent of this job or null if this is top-level job

getChildren

java.util.List<BaseJob> getChildren()
Return an empty list if there are no children.

Returns:
children of this job