protected String record(String deployment){
  deployments.add(deployment);
  return deployment;
}

protected String record ( String deployment ) { deployments . add ( deployment ) ; return deployment ; }
record the fact that something was deployed , resulting in the given deployment id . useful for cleaning up resources in an implementation - specific way in subclasses .
