public static void updateInternal(
      DeploymentConfiguration source,
      com.tasktop.c2c.server.internal.deployment.domain.DeploymentConfiguration target) {
    target.setApiToken(source.getApiToken());
    target.setApiBaseUrl(source.getApiBaseUrl());
    target.setName(source.getName());
    target.setUsername(source.getUsername());

    target.setBuildJobName(source.getBuildJobName());
    target.setBuildJobNumber(source.getBuildJobNumber());
    target.setDeploymentType(source.getDeploymentType());
    target.setBuildArtifactPath(source.getBuildArtifactPath());
    target.setDeployUnstableBuilds(source.isDeployUnstableBuilds());
    target.setLastDeploymentDate(source.getLastDeploymentDate());
  }