Class WorkflowDTO
- java.lang.Object
-
- org.wso2.am.integration.clients.admin.api.dto.WorkflowDTO
-
public class WorkflowDTO extends Object
WorkflowDTO
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classWorkflowDTO.StatusEnumThis attribute declares whether this workflow task is approved or rejected.
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ATTRIBUTESstatic StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_STATUS
-
Constructor Summary
Constructors Constructor Description WorkflowDTO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowDTOattributes(Map<String,String> attributes)WorkflowDTOdescription(String description)booleanequals(Object o)Map<String,String>getAttributes()Custom attributes to complete the workflow taskStringgetDescription()Get descriptionWorkflowDTO.StatusEnumgetStatus()This attribute declares whether this workflow task is approved or rejected.inthashCode()voidsetAttributes(Map<String,String> attributes)voidsetDescription(String description)voidsetStatus(WorkflowDTO.StatusEnum status)WorkflowDTOstatus(WorkflowDTO.StatusEnum status)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ATTRIBUTES
public static final String SERIALIZED_NAME_ATTRIBUTES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
status
public WorkflowDTO status(WorkflowDTO.StatusEnum status)
-
getStatus
public WorkflowDTO.StatusEnum getStatus()
This attribute declares whether this workflow task is approved or rejected.- Returns:
- status
-
setStatus
public void setStatus(WorkflowDTO.StatusEnum status)
-
attributes
public WorkflowDTO attributes(Map<String,String> attributes)
-
getAttributes
@Nullable public Map<String,String> getAttributes()
Custom attributes to complete the workflow task- Returns:
- attributes
-
description
public WorkflowDTO description(String description)
-
setDescription
public void setDescription(String description)
-
-