public String getVerb(boolean proper) {
    String verb = (this == UPGRADE) ? "upgrading" : "downgrading";

    return proper ? StringUtils.capitalize(verb) : verb;
  }
@param proper {@code true} to make the first letter captilized
@return "upgrading" or "downgrading"
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/Direction.java