Search in sources :

Example 1 with DeploymentResponse

use of org.activiti.rest.service.api.repository.DeploymentResponse in project Activiti by Activiti.

the class RestResponseFactory method createDeploymentResponseList.

public List<DeploymentResponse> createDeploymentResponseList(List<Deployment> deployments) {
    RestUrlBuilder urlBuilder = createUrlBuilder();
    List<DeploymentResponse> responseList = new ArrayList<DeploymentResponse>();
    for (Deployment instance : deployments) {
        responseList.add(createDeploymentResponse(instance, urlBuilder));
    }
    return responseList;
}
Also used : ArrayList(java.util.ArrayList) DeploymentResponse(org.activiti.rest.service.api.repository.DeploymentResponse) Deployment(org.activiti.engine.repository.Deployment)

Aggregations

ArrayList (java.util.ArrayList)1 Deployment (org.activiti.engine.repository.Deployment)1 DeploymentResponse (org.activiti.rest.service.api.repository.DeploymentResponse)1