|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.itim.workflow.model.type.ProcessResult
public class ProcessResult
This class encapsulates a activity result. The reason it is named ProcessResult
is undocumented but has been left unchanged to avoid changes to client code.
The summary string identifies the return code of the activity or process
The detail describes the associated relevant data that have been modified
during the activity execution.
Field Summary | |
---|---|
static java.lang.String[] |
APPLICATION_RESULTS
|
static java.lang.String[] |
APPROVAL_RESULTS
|
static java.lang.String |
APPROVED
Supported summary code for approval activity |
static java.lang.String |
ESCALATED
|
static java.lang.String |
FAILED
|
static java.lang.String |
PARTICIPANT_RESOLVE_FAILED
Supported summary code for manual activity |
static java.lang.String |
PENDING
|
static java.lang.String |
REJECTED
|
static java.lang.String[] |
RFI_RESULTS
|
static java.lang.String |
SKIPPED
|
static int |
STATUS_ABORT
Status value indicating that the workflow process thread should abort the activity. |
static int |
STATUS_COMPLETE
Status value indicating that the workflow process thread should complete the activity. |
static int |
STATUS_CONTINUE
Status value indicating that the workflow process thread should continue navigation without updating the activity status. |
static int |
STATUS_FAIL_ACTIVITY
Status value indicating that the workflow process thread should fail the activity, but not kill the process |
static int |
STATUS_RE_EXECUTE
Status value indicating that the activity should be reexecuted. |
static int |
STATUS_WAIT
Status value indicating that the workflow process thread should wait for an activity completion notice. |
static int |
STATUS_WAIT_LOCK
Status value indicating that the workflow process thread should increment the lock count for dependent tasks for the associated activity |
static int |
STATUS_WAIT_UNLOCK
Status value indicating that the workflow process thread should decrement the lock count for dependent tasks for the associated activity |
static java.lang.String |
SUBMITED
Supported summary code for RFI activity |
static java.lang.String |
SUCCESS
Possible summary codes for application activity |
static java.lang.String |
TIMEOUT
|
static java.lang.String |
WARNING
|
Constructor Summary | |
---|---|
ProcessResult()
Default constructor sets the status to STATUS_COMPLETE. |
|
ProcessResult(int status)
Constructor takes a status |
|
ProcessResult(int status,
java.lang.String summary)
Constructor takes a status and summary. |
|
ProcessResult(int status,
java.lang.String summary,
java.lang.String description,
java.util.List detail)
Constructor takes a status, summary, description, and result values. |
|
ProcessResult(java.lang.String summary)
Constructor takes a summary string and sets the status to STATUS_COMPLETE |
|
ProcessResult(java.lang.String summary,
java.util.List detail)
Constructor takes a summary and result values. |
|
ProcessResult(java.lang.String summary,
java.lang.String description,
java.util.List detail)
Constructor takes a summary, description, and result values. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Accessor method for the activity result description property. |
java.util.List |
getDetail()
Returns the list of result values for the target activity. |
int |
getStatus()
Access method for the result status. |
java.lang.String |
getSummary()
Accessor method for the activity summary property. |
void |
setDescription(java.lang.String description)
Mutator method for the activity result description property. |
void |
setDetail(java.util.List detail)
This method replaces the current list of result values with the list specified in the detail parameter. |
void |
setSummary(java.lang.String summary)
Mutator method for the activity summary property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String APPROVED
public static final java.lang.String REJECTED
public static final java.lang.String SKIPPED
public static final java.lang.String[] APPROVAL_RESULTS
public static final java.lang.String SUBMITED
public static final java.lang.String[] RFI_RESULTS
public static final java.lang.String PARTICIPANT_RESOLVE_FAILED
public static final java.lang.String SUCCESS
public static final java.lang.String TIMEOUT
public static final java.lang.String FAILED
public static final java.lang.String WARNING
public static final java.lang.String PENDING
public static final java.lang.String ESCALATED
public static final java.lang.String[] APPLICATION_RESULTS
public static final int STATUS_CONTINUE
public static final int STATUS_WAIT
public static final int STATUS_COMPLETE
public static final int STATUS_ABORT
public static final int STATUS_WAIT_LOCK
public static final int STATUS_WAIT_UNLOCK
public static final int STATUS_RE_EXECUTE
public static final int STATUS_FAIL_ACTIVITY
Constructor Detail |
---|
public ProcessResult()
public ProcessResult(int status)
status
- indicates the status of the workflow process thread.public ProcessResult(java.lang.String summary)
summary
- activity specific code that may be used within a workflow process to
control transistions.public ProcessResult(int status, java.lang.String summary)
status
- indicates the status of the workflow process thread. This
parameter may be STATUS_CONTINUE, STATUS_WAIT, STATUS_COMPLETE
or STATUS_ABORT.summary
- activity specific code that may be used within a workflow process to
control transistions.public ProcessResult(java.lang.String summary, java.util.List detail)
summary
- activity specific code that may be used within a workflow process to
control transistions.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.public ProcessResult(java.lang.String summary, java.lang.String description, java.util.List detail)
summary
- activity specific code that may be used within a workflow process to
control transistions.description
- property that is used in audit logs to provide additional information
about the activity result.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.public ProcessResult(int status, java.lang.String summary, java.lang.String description, java.util.List detail)
status
- indicates the status of the workflow process thread. This
parameter may be STATUS_CONTINUE, STATUS_WAIT, STATUS_COMPLETE
or STATUS_ABORT.summary
- activity specific code that may be used within a workflow process to
control transistions.description
- property that is used in audit logs to provide additional information
about the activity result.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.Method Detail |
---|
public int getStatus()
public void setSummary(java.lang.String summary)
summary
- an activity specific control code.public java.lang.String getSummary()
public void setDescription(java.lang.String description)
description
- addition detail about an activity result.public java.lang.String getDescription()
public void setDetail(java.util.List detail)
detail
- a list of result values. This list is generic list
of objects specific to the activity. This parameter
may be null. NOTE: detail must be serializable.public java.util.List getDetail()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |