|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.portal.processqueue.QueueTaskProcess
public class QueueTaskProcess
Represents a queued process item.
Field Summary | |
---|---|
static String |
NAMED_QUERY_FIND_LAST_SCHEDULED_TIME_FOR_GROUP
Finds the last queued process of a group and returns it. |
static String |
NAMED_QUERY_FIND_NEXT_SCHEDULED_ITEM
Searches for the next task processor in Scheduled status. |
Constructor Summary | |
---|---|
QueueTaskProcess()
Default constructor |
Method Summary | |
---|---|
Date |
getEndDateTime()
Returns the time the processed ended. |
String |
getGroupId()
Returns the group defined for the process. |
String |
getId()
Returns the id of the process in the queue. |
Date |
getQueuedDateTime()
Returns the time the process was added to the queue. |
Date |
getScheduledDateTime()
Returns the time the process is supposed to run. |
Date |
getStartDateTime()
Returns the time the process started running. |
QueueTaskProcessStatus |
getStatus()
Returns the status the process is in. |
IQueueTask |
getTask()
Returns the process' task. |
String |
getTitle()
Returns the title of the process. |
void |
setEndDateTime(Date endtime)
Sets the time the processed ended. |
void |
setGroup(String groupId)
Sets the group defined for the process. |
void |
setId(String id)
Sets the id of the process in the queue. |
void |
setQueuedDateTime(Date queued)
Sets the time the process was added to the queue. |
void |
setScheduledDateTime(Date scheduled)
Sets the time the process is supposed to run. |
void |
setStartDateTime(Date start)
Sets the time the process started running. |
void |
setStatus(QueueTaskProcessStatus status)
Sets the status the process is in. |
void |
setTask(IQueueTask task)
Returns the process' task. |
void |
setTitle(String title)
Sets the title of the process. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String NAMED_QUERY_FIND_NEXT_SCHEDULED_ITEM
public static final String NAMED_QUERY_FIND_LAST_SCHEDULED_TIME_FOR_GROUP
groupId
Constructor Detail |
---|
public QueueTaskProcess()
Method Detail |
---|
public String getId()
getId
in interface IQueueTaskProcess
public String getTitle()
getTitle
in interface IQueueTaskProcess
public QueueTaskProcessStatus getStatus()
getStatus
in interface IQueueTaskProcess
public String getGroupId()
getGroupId
in interface IQueueTaskProcess
public Date getQueuedDateTime()
getQueuedDateTime
in interface IQueueTaskProcess
Date
the process was put in queue.public Date getScheduledDateTime()
getScheduledDateTime
in interface IQueueTaskProcess
Date
the process is scheduled to run.public Date getStartDateTime()
getStartDateTime
in interface IQueueTaskProcess
Date
the process started to run.public Date getEndDateTime()
QueueTaskProcessStatus.Failed
status.
getEndDateTime
in interface IQueueTaskProcess
Date
the process' run finish.public IQueueTask getTask()
getTask
in interface IQueueTaskProcess
public void setId(String id)
id
- of the process in the queue.public void setTitle(String title)
title
- of the process.public void setStatus(QueueTaskProcessStatus status)
status
- of the process.public void setGroup(String groupId)
groupId
- of the process.public void setQueuedDateTime(Date queued)
queued
- the date/time the process was put in queue.public void setScheduledDateTime(Date scheduled)
scheduled
- the date/time the process is/was scheduled to run.public void setStartDateTime(Date start)
start
- the date/time the process started to run.public void setEndDateTime(Date endtime)
endtime
- the date/time the process finished.public void setTask(IQueueTask task)
task
- the process' task.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |