Package org.bonitasoft.web.client.model
Class ActivityUpdateRequest
- java.lang.Object
-
- org.bonitasoft.web.client.model.ActivityUpdateRequest
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class ActivityUpdateRequest extends Object implements Serializable
ActivityUpdateRequest- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_STATEstatic StringJSON_PROPERTY_VARIABLES
-
Constructor Summary
Constructors Constructor Description ActivityUpdateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetState()The target state of the activity - Execute a task: `completed` - Skip activity: `skipped` - Make this call after all failed connectors have been reset  - Replay activity: `replay`StringgetVariables()Activity variables to update.inthashCode()voidsetState(String state)voidsetVariables(String variables)ActivityUpdateRequeststate(String state)StringtoString()ActivityUpdateRequestvariables(String variables)
-
-
-
Field Detail
-
JSON_PROPERTY_VARIABLES
public static final String JSON_PROPERTY_VARIABLES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_STATE
public static final String JSON_PROPERTY_STATE
- See Also:
- Constant Field Values
-
-
Method Detail
-
variables
public ActivityUpdateRequest variables(String variables)
-
getVariables
@Nullable public String getVariables()
Activity variables to update. **Note**: if there is no data with the specified name in the activity, the update will be applied to the process data if a variable with the specified name exists. **Note**: if the task definition includes a connector that is executed on finish and updates the value of a variable, the value set by the REST API call is overwritten.- Returns:
- variables
-
setVariables
public void setVariables(String variables)
-
state
public ActivityUpdateRequest state(String state)
-
getState
@Nullable public String getState()
The target state of the activity - Execute a task: `completed` - Skip activity: `skipped` - Make this call after all failed connectors have been reset  - Replay activity: `replay`- Returns:
- state
-
setState
public void setState(String state)
-
-