code: private String extractVersionFromFullVersion(String pFullVersion) {
          if (pFullVersion != null) {
              Matcher matcher = GLASSFISH_VERSION.matcher(pFullVersion);
              if (matcher.matches()) {
                  serverName = GLASSFISH_NAME;
                  vendorName = GLASSFISH_VENDOR_NAME;
                  return matcher.group(1);
              }
              matcher = PAYARA_VERSION.matcher(pFullVersion);
              if (matcher.matches()) {
                  serverName = PAYARA_NAME;
                  vendorName = PAYARA_VENDOR_NAME;
                  return matcher.group(1);
              }
          }
          return null;
      }
docs: Tries to match Glassfish first, then Payara Server, updating server and vendor name