class RequestOperationLevel {

  public static String getInternalLevelName(String external)
          throws IllegalArgumentException{
    String refinedAlias = external.trim().toUpperCase();
    for (String [] pair : LEVEL_ALIASES) {
      if (pair[ALIAS_COLUMN].equals(refinedAlias)) {
        return pair[INTERNAL_NAME_COLUMN];
      }
    }
    String message = String.format("Unknown operation level %s", external);
    throw new IllegalArgumentException(message);
  }

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

}