public Set<String> getProcessDefinitionIds() { Set<String> processDefinitionIds = new HashSet<String>(); if (objectProperties != null) { for (DeploymentProperty deploymentProperty : objectProperties) { if (KEY_PROCESS_DEFINITION_ID.equals(deploymentProperty.getKey())) { String processDefinitionId = deploymentProperty.getStringValue(); processDefinitionIds.add(processDefinitionId); } } } return processDefinitionIds; }