
uk.co.mruoc.camunda.client.deploy.get.GetDeploymentsResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of camunda-rest-client Show documentation
Show all versions of camunda-rest-client Show documentation
Template repo to speed up creating new library projects
The newest version!
package uk.co.mruoc.camunda.client.deploy.get;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import java.util.Collection;
import java.util.UUID;
import java.util.stream.Collectors;
import lombok.Data;
import lombok.RequiredArgsConstructor;
@RequiredArgsConstructor
@Data
@JsonDeserialize(using = GetDeploymentsResponseDeserializer.class)
public class GetDeploymentsResponse {
private final Collection deployments;
public int getNumberOfDeployments() {
return deployments.size();
}
public Collection getDeploymentIds() {
return deployments.stream().map(Deployment::getId).collect(Collectors.toList());
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy