public void setOrchestration(RepositoryType type) {
    orchestration = type;
  }
Sets the orchestration for the upgrade.  Only different when an upgrade is a revert of a patch.
In that case, the orchestration is set to PATCH even if the target repository is type STANDARD.

@param type  the orchestration
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/UpgradeEntity.java