class RequestOperationLevel {

  public static String getExternalLevelName(String internal) {
    for (String [] pair : LEVEL_ALIASES) {
      if (pair[INTERNAL_NAME_COLUMN].equals(internal)) {
        return pair[ALIAS_COLUMN];
      }
    }
    // That should never happen
    String message = String.format("Unknown internal " +
            "operation level name %s", internal);
    throw new IllegalArgumentException(message);
  }

  public  RequestOperationLevel(Resource.Type level, String clusterName,
                               String serviceName, String hostComponentName,
                               String hostName);
  public  RequestOperationLevel(Map<String, String> requestInfoProperties);

}