I see AppRepositoryService contains
void deleteDeployment(String deploymentId, boolean cascade);
According to the JavaDoc the second parameter
cascade deletes various dependencies. However I want to delete child deployments too (specifically deployment of the contained process definitions but others too are possible).
Do you think an overloaded method
void deleteDeployment(String deploymentId, boolean cascade, boolean cascadeChildDeployments); would be a suitable approach?