static {
   nodeFilterParams.put(NodeSet.HOSTNAME, "");
   nodeFilterParams.put(NodeSet.TYPE, "Type");
   nodeFilterParams.put(NodeSet.TAGS, "Tags");
   nodeFilterParams.put(NodeSet.OS_NAME, "OsName");
   nodeFilterParams.put(NodeSet.OS_FAMILY, "OsFamily");
   nodeFilterParams.put(NodeSet.OS_ARCH, "OsArch");
   nodeFilterParams.put(NodeSet.OS_VERSION, "OsVersion");
   nodeFilterParams.put(NodeSet.NAME, "Name");
 }
  private void addLoglevelParams(Map<String, String> params, int loglevel, final String prefix) {

    String loglevelstr = RundeckAppConstants.MSG_INFO.toUpperCase();
    switch (loglevel) {
      case Constants.DEBUG_LEVEL:
        loglevelstr = RundeckAppConstants.MSG_DEBUG.toUpperCase();
        break;
      case Constants.VERBOSE_LEVEL:
        loglevelstr = RundeckAppConstants.MSG_VERBOSE.toUpperCase();
        break;
      case Constants.INFO_LEVEL:
        loglevelstr = RundeckAppConstants.MSG_INFO.toUpperCase();
        break;
      case Constants.WARN_LEVEL:
        loglevelstr = RundeckAppConstants.MSG_WARN.toUpperCase();
        break;
      case Constants.ERR_LEVEL:
        loglevelstr = RundeckAppConstants.MSG_ERR.toUpperCase();
        break;
    }

    params.put(prefix + "loglevel", loglevelstr);
  }