code: @Deprecated
      public CheckPolicyComplianceResult checkPolicyCompliance(String orgToken,
                                                               String product,
                                                               String productVersion,
                                                               Collection<AgentProjectInfo> projectInfos,
                                                               boolean forceCheckAllDependencies,
                                                               String userKey,
                                                               String requesterEmail,
                                                               Boolean aggregateModules,
                                                               Boolean preserveModuleStructure,
                                                               String aggregateProjectName,
                                                               String aggregateProjectToken)
              throws WssServiceException {
          return client.checkPolicyCompliance(
                  requestFactory.newCheckPolicyComplianceRequest(orgToken, product, productVersion, projectInfos, forceCheckAllDependencies,
                          userKey, requesterEmail, aggregateModules, preserveModuleStructure, aggregateProjectName, aggregateProjectToken));
      }
docs: Checks the policies application of the given OSS information.
  
  @param orgToken                  Organization token uniquely identifying the account at white source.
  @param product                   The product name or token to update.
  @param productVersion            The product version.
  @param projectInfos              OSS usage information to send to white source.
  @param forceCheckAllDependencies Boolean to check new data only or not.
  @param userKey                   user key uniquely identifying the account at white source.
  @param aggregateModules          to combine all pom modules into a single WhiteSource project with an aggregated dependency flat list (no hierarchy).
  @param preserveModuleStructure   combine all pom modules to be dependencies of single project, each module will be represented as a parent of its dependencies.
  @param aggregateProjectName      aggregate project name identifier.
  @param aggregateProjectToken     aggregate project token identifier.
  @return Potential result of applying the currently defined policies.
  @throws WssServiceException In case of errors while checking the policies with white source.