public class InitialProcessContext
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
InitialProcessContext(DistinguishedName tenantDN,
java.lang.String type)
Constructs with a tenant as the namespace of the process and the process
type.
|
InitialProcessContext(DistinguishedName tenantDN,
java.lang.String type,
java.util.List processContext)
Constructs with a tenant as the namespace of the process, the process
type, and context data.
|
InitialProcessContext(java.lang.String type)
Constructs with the process type only.
|
InitialProcessContext(java.lang.String type,
java.util.List processContext)
Constructs with the process type and context data.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getComment()
Returns the comment about the workflow process.
|
java.lang.String |
getDescription()
Returns the description of the workflow process.
|
int |
getNotificationInstruction()
Returns who will receive an email notification at process completion.
|
java.util.List |
getProcessContext()
Returns the process context data.
|
java.util.Date |
getScheduledTime()
Returns the date/time the process is scheduled to start.
|
DistinguishedName |
getTenantDN()
Returns the tenant namespace of the process.
|
java.lang.String |
getType()
Returns the type of the workflow process.
|
void |
setComment(java.lang.String comment)
Changes the comment about the workflow process.
|
void |
setDescription(java.lang.String description)
Changes the description of the workflow process.
|
void |
setNotificationInstruction(int instruction)
Determines who will receive an email notification at process completion.
|
void |
setProcessContext(java.util.List processContext)
Changes the process context data.
|
void |
setScheduledTime(java.util.Date scheduledTime)
Changes the scheduled date/time of the process.
|
void |
setTenantDN(DistinguishedName tenantDN)
Changes the tenant namespace of the process.
|
void |
setType(java.lang.String type)
Changes the type of the workflow process.
|
public InitialProcessContext(java.lang.String type)
type - Type of the process. This process type must be
registered with the workflow engine.public InitialProcessContext(DistinguishedName tenantDN, java.lang.String type)
tenantDN - DistinguishedName of tenant that provides the namespace
in which the process will execute.type - Type of the process. This process type must be
registered with the workflow engine.public InitialProcessContext(java.lang.String type,
java.util.List processContext)
type - Type of the process. This process type must be
registered with the workflow engine.processContext - List of RelevantDataItems representing
the process context to initialize with.public InitialProcessContext(DistinguishedName tenantDN, java.lang.String type, java.util.List processContext)
tenantDN - DistinguishedName of tenant that provides the namespace
in which the process will execute.type - Type of the process. This process type must be
registered with the workflow engine.processContext - List of RelevantDataItems representing
the process context to initialize with.public void setScheduledTime(java.util.Date scheduledTime)
scheduledTime - The scheduled starting time of the process.
If null, the process will start immediately.
In case this method is invoked remotely, passing this parameter as the current
date/time of the client machine is not a safe technique to use, since the
date/time of the client machine may not be the same as the date/time of the
ITIM server machine.public java.util.Date getScheduledTime()
public DistinguishedName getTenantDN()
public void setTenantDN(DistinguishedName tenantDN)
tenantDN - DistinguishedName of the tenant.public void setType(java.lang.String type)
type - String representing the process type.public java.lang.String getType()
public void setDescription(java.lang.String description)
description - Process description.public java.lang.String getDescription()
public void setComment(java.lang.String comment)
comment - Descriptive comment about the process.public java.lang.String getComment()
public void setNotificationInstruction(int instruction)
instruction - Enumeration indicating who to notify. The values are:
public int getNotificationInstruction()
public java.util.List getProcessContext()
public void setProcessContext(java.util.List processContext)
processContext - List of RelevantDataItems representing the
process context data.