Package com.appiancorp.suiteapi.process
Class ScheduleSummary
java.lang.Object
com.appiancorp.suiteapi.process.ScheduleSummary
- All Implemented Interfaces:
Serializable
Holds a high-level summary of the schedule which could be on a node
or a pending node object if there is recurrence and spawning for that
node
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final Integer
Constant for the schedule that is not lapsed, and when triggered will start multiple tasksstatic final Integer
Constant for the schedule that is not lapsed, and when triggered will start a single taskstatic final Integer
Constant for the schedule already lapsed.static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
static final Integer
Constant for node having a schedule that once triggered will start multiple tasksstatic final Integer
Constant for node having a schedule that once triggered will start a single task -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
getName()
String[]
getType()
void
setAssignedTime
(Timestamp time_) void
void
void
void
setPriority
(Priority priority_) void
setScheduledTime
(Timestamp time_) void
void
setTemplateId
(Long id_) void
-
Field Details
-
TASK_STATUS_SCHEDULED_SINGLE
Constant for node having a schedule that once triggered will start a single task -
TASK_STATUS_SCHEDULED_MULTIPLE
Constant for node having a schedule that once triggered will start multiple tasks -
SCHEDULE_TYPE_STARTED
Constant for the schedule already lapsed. -
SCHEDULE_TYPE_PENDING_SINGLE
Constant for the schedule that is not lapsed, and when triggered will start a single task -
SCHEDULE_TYPE_PENDING_MULTIPLE
Constant for the schedule that is not lapsed, and when triggered will start multiple tasks -
SORT_BY_TEMPLATE_ID
-
SORT_BY_TYPE
-
SORT_BY_ID
-
SORT_BY_NAME
-
SORT_BY_STATUS
-
SORT_BY_OWNERS
-
SORT_BY_SCHEDULED_TIME
-
SORT_BY_ASSIGNED_TIME
-
SORT_BY_PRIORITY
-
-
Constructor Details
-
ScheduleSummary
public ScheduleSummary()
-
-
Method Details
-
getAssignedTime
- Returns:
- time at which the node was assigned
-
setAssignedTime
-
getName
- Returns:
- the name of the task or the node if the task is pending.
-
setName
-
getId
- Returns:
- the id of the task, or the pending task.
-
setId
-
getOwners
- Returns:
- the usernames of those who have accepted the task or empty array if no one has taken ownership
-
setOwners
-
getPriority
- Returns:
- the priority of the task or null if task is pending
-
setPriority
-
getScheduledTime
- Returns:
- the next scheduled time or null if there is no schedule or the schedule has lapsed
-
setScheduledTime
-
getStatus
- Returns:
- the status of the task or pending task, and will be one of the
-
setStatus
-
getTemplateId
- Returns:
- the id of the underlying node template
-
setTemplateId
-
getType
- Returns:
- the type of the task, which can be one
-
setType
-