Package org.alfresco.rest.model
Class RestProcessModel
java.lang.Object
org.alfresco.utility.model.TestModel
org.alfresco.utility.model.ProcessModel
org.alfresco.rest.model.RestProcessModel
- All Implemented Interfaces:
IModelAssertion<RestProcessModel>,IRestModel<RestProcessModel>,org.alfresco.utility.model.Model
public class RestProcessModel
extends org.alfresco.utility.model.ProcessModel
implements IRestModel<RestProcessModel>, IModelAssertion<RestProcessModel>
Handles single Process Entry JSON response
"entry": {
"processDefinitionId": "activitiAdhoc:1:4",
"startUserId": "admin",
"startActivityId": "start",
"startedAt": "2016-05-24T09:43:17.000+0000",
"id": "55069",
"completed": false,
"processDefinitionKey": "activitiAdhoc"
}
Created by Claudia Agache on 10/11/2016.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiononModel()voidsetCompleted(String completed) voidsetDeleteReason(String deleteReason) voidsetDurationInMs(String durationInMs) voidsetEndedAt(String endedAt) voidsetProcessDefinitionId(String processDefinitionId) voidsetProcessDefinitionKey(String processDefinitionKey) voidsetStartActivityId(String startActivityId) voidsetStartedAt(String startedAt) voidsetStartUserId(String startUserId) Methods inherited from class org.alfresco.utility.model.ProcessModel
addTaskToList, getId, getTaskOfUser, getTasks, setIdMethods inherited from class org.alfresco.utility.model.TestModel
setRandomValuesForAllFields, toInfo, toJson, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.alfresco.rest.core.assertion.IModelAssertion
and, assertThat
-
Constructor Details
-
RestProcessModel
public RestProcessModel()
-
-
Method Details
-
onModel
- Specified by:
onModelin interfaceIRestModel<RestProcessModel>
-
getProcessDefinitionId
-
setProcessDefinitionId
-
getStartUserId
-
setStartUserId
-
getStartActivityId
-
setStartActivityId
-
getCompleted
-
setCompleted
-
getProcessDefinitionKey
-
setProcessDefinitionKey
-
getStartedAt
-
setStartedAt
-
getDurationInMs
-
setDurationInMs
-
getEndedAt
-
setEndedAt
-
getDeleteReason
-
setDeleteReason
-