public String getText(boolean proper) {
    return proper ? StringUtils.capitalize(name().toLowerCase()) :
      name().toLowerCase();
  }
@param proper {@code true} to make the first letter captilized
@return "upgrade" or "downgrade"
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/Direction.java