docs: public static DeploymentType parseDeploymentFromString(String deploymentString) {
          ByteArrayInputStream byteIS;
          byteIS = new ByteArrayInputStream(deploymentString.getBytes(Constants.UTF8ENCODING));
          // get deployment info from xml file
          return getDeployment(byteIS);
      }