public String getPreposition() {
    return (this == UPGRADE) ? "to" : "from";
  }
Gets the preposition based on the direction. Since the repository is
singular, it will either be "to repo" or "from repo".

@return "to" or "from"
ambari-server/src/main/java/org/apache/ambari/server/stack/upgrade/Direction.java