public interface ITask extends IElement, ISearchSupport, IDelegationSupport, ILocalizationScope, IConnectorParentContextSupport
Modifier and Type | Interface and Description |
---|---|
static interface |
ITask.ITreatmentTypes
Defines the treatment available types.
|
Modifier and Type | Method and Description |
---|---|
IAction |
getAction(String name)
Retrieves an action by its name.
|
Collection<? extends IAction> |
getActions()
Retrieves a the actions of a task.
|
long |
getDelay()
Gets the available delay to execute the task.
|
IAction |
getDelayAction()
Retrieves the
IAction to execute if late. |
String |
getDescription() |
IForm |
getForm()
Gets the
IForm associated with the task. |
String |
getLabel()
Gets the label of the task.
|
IMailForm |
getMailForm(int type)
Gets the
IMailForm associated with the task. |
String |
getName()
Gets the system name of the task.
|
IOperatorRole |
getOperatorRole()
Gets the associated
IOperatorRole if the task is manual. |
IRole |
getRole()
Deprecated.
use getOperatorRole() method instead.
|
IWorkflow |
getWorkflow()
Retrieves the workflow of the task.
|
boolean |
isAbortAllowed()
Checks if the current task allows abort operation.
|
boolean |
isDelegationAllowed()
Checks if the current task allows delegation operation.
|
boolean |
isReminderAllowed()
Checks if the current task allows remind operation.
|
void |
setDelay(long delay)
Sets the delay of the task.
|
getId, getModule, getNativeObject, getPath, save
getProtocolURI, getProtocolURI
getParentContext
String getName()
String getLabel()
String getDescription()
long getDelay()
void setDelay(long delay)
delay
- The delay in seconds.IAction getDelayAction()
IAction
to execute if late.IAction
object.IAction getAction(String name)
name
- The system name of the action.IAction
object.Collection<? extends IAction> getActions()
IAction
objects.IWorkflow getWorkflow()
IWorkflow
object.@Deprecated IRole getRole()
IOperatorRole
if the task is manual.IRole
object.IOperatorRole getOperatorRole()
IOperatorRole
if the task is manual.IOperatorRole
object.IMailForm getMailForm(int type)
IMailForm
associated with the task.type
- The type of the mail form.IMailForm
object.boolean isAbortAllowed()
boolean isReminderAllowed()
boolean isDelegationAllowed()
Copyright © 2022 Visiativ. All rights reserved.