public void putDeployment(Deployment deployment) {
    String artifactId = getArtifactId(deployment.getFileName());
    deployments.values().removeIf(d -> getArtifactId(d.getFileName()).equals(artifactId));
    deployments.put(deployment.getId(), deployment);
  }
Domain object for all the configuration related data.
geode-core/src/main/java/org/apache/geode/management/internal/configuration/domain/Configuration.java