public class ActivityExecutionMetadata
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ActivityExecutionMetadata() |
Modifier and Type | Method and Description |
---|---|
ActivityProperties |
getActivityProperties()
Gets the properties of an activity, such as the task properties, process properties, and
process model properties for a task, the process it is in, and the model for that process.
|
java.util.Map<java.lang.String,java.lang.String> |
getAdditionalContext()
A map of additional context that is passed to the node from an external
service.
|
java.lang.String |
getConfirmationUrl()
Gets the url of the page that should be shown to the user who performs an attended task if that
task completes successfully.
|
java.lang.Integer |
getExecutionEnvironment()
The environment in which the activity executes, such as process execution engine or java.
|
FormConfig |
getForm() |
java.lang.String |
getHelper() |
ActivityParameterHelper |
getHelperInstance() |
java.lang.Long |
getId() |
java.lang.String |
getJavaActivityClassname()
Gets the fully qualified class name of the java class that embodies the activity.
|
ActivityClassParameter[] |
getParameters()
Gets the input parameters on which the activity operates.
|
int |
getPrecedingChainedActivity() |
ActivityReturnVariable[] |
getReturnVariables()
Gets the variables whose values are produced during activity execution.
|
java.lang.String |
getUser()
The user who executes the activity
|
java.lang.Long |
getWorkId()
Gets the workId of an activity if it's managed by the workq, null otherwise.
|
boolean |
hasPrecedingChainedActivity() |
boolean |
isAsynchronous() |
boolean |
isBackButtonEnabled() |
boolean |
isChained() |
boolean |
isFormDeleted() |
boolean |
isLingering()
Returns
true if this is a Quick Task, false otherwise. |
boolean |
isOnCompleteKeepFormData() |
void |
setActivityProperties(ActivityProperties activityProperties_) |
void |
setAdditionalContext(java.util.Map<java.lang.String,java.lang.String> additionalContext_) |
void |
setAsynchronous(boolean asynchronous_) |
void |
setBackButtonEnabled(boolean backButtonEnabled_) |
void |
setChained(boolean chained_) |
void |
setConfirmationUrl(java.lang.String confirmationUrl_)
Sets the url of the page that should be shown to the user who performs an attended task if that
task completes successfully.
|
void |
setExecutionEnvironment(java.lang.Integer executionEnvironment_)
The environment in which the activity executes, such as process execution engine or java.
|
void |
setForm(FormConfig form_) |
void |
setFormDeleted(boolean formDeleted_) |
void |
setHelper(java.lang.String helper_) |
void |
setId(java.lang.Long id_) |
void |
setJavaActivityClassname(java.lang.String javaActivityClassname_)
Sets the fully qualified class name of the java class that embodies the activity.
|
void |
setLingering(boolean lingering_) |
void |
setOnCompleteKeepFormData(boolean onCompleteKeepFormData_) |
void |
setParameters(ActivityClassParameter[] parameters_)
Sets the input parameters on which the activity operates.
|
void |
setPrecedingChainedActivity(int precedingChainedActivity_) |
void |
setReturnVariables(ActivityReturnVariable[] returnVariables_)
The variables whose values are produced during activity execution.
|
void |
setUser(java.lang.String _user)
The user who executes the activity
|
void |
setWorkId(java.lang.Long workId_) |
java.lang.String |
toString() |
public java.lang.Long getId()
public void setId(java.lang.Long id_)
public java.lang.Integer getExecutionEnvironment()
ActivityClassSchema.ENVIRONMENT_XXX
constants.ActivityClassSchema
public void setExecutionEnvironment(java.lang.Integer executionEnvironment_)
executionEnvironment_
- one of the ActivityClassSchema.ENVIRONMENT_XXX
constants.ActivityClassSchema
public java.lang.String getJavaActivityClassname()
public void setJavaActivityClassname(java.lang.String javaActivityClassname_)
public ActivityClassParameter[] getParameters()
public void setParameters(ActivityClassParameter[] parameters_)
public java.lang.String getConfirmationUrl()
public void setConfirmationUrl(java.lang.String confirmationUrl_)
public ActivityReturnVariable[] getReturnVariables()
ProcessExecutionService.completeActivity
.SafeActivityReturnVariable
public void setReturnVariables(ActivityReturnVariable[] returnVariables_)
ProcessExecutionService.completeActivity
.public java.lang.String getUser()
public void setUser(java.lang.String _user)
_user
- the primary key (username) of the user.public ActivityProperties getActivityProperties()
TaskProperties
,
ProcessProperties
,
ProcessModelProperties
public void setActivityProperties(ActivityProperties activityProperties_)
public java.lang.Long getWorkId()
public void setWorkId(java.lang.Long workId_)
public FormConfig getForm()
InternalForm
,
DynamicForm
,
JSPForm
public void setForm(FormConfig form_)
public ActivityParameterHelper getHelperInstance()
public void setHelper(java.lang.String helper_)
public java.lang.String getHelper()
public boolean isAsynchronous()
true
if the activity is asynchronous else false
. Asynchronous
activities do not stall the Process Execution Enginepublic void setAsynchronous(boolean asynchronous_)
public int getPrecedingChainedActivity()
public boolean hasPrecedingChainedActivity()
public void setPrecedingChainedActivity(int precedingChainedActivity_)
public boolean isChained()
public void setChained(boolean chained_)
public boolean isLingering()
true
if this is a Quick Task, false
otherwise.true
if it's a Quick Task, false
otherwise.public void setLingering(boolean lingering_)
public boolean isBackButtonEnabled()
public void setBackButtonEnabled(boolean backButtonEnabled_)
public boolean isFormDeleted()
public void setFormDeleted(boolean formDeleted_)
public boolean isOnCompleteKeepFormData()
public void setOnCompleteKeepFormData(boolean onCompleteKeepFormData_)
public java.util.Map<java.lang.String,java.lang.String> getAdditionalContext()
public void setAdditionalContext(java.util.Map<java.lang.String,java.lang.String> additionalContext_)
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2024 Appian Corporation. All Rights Reserved.