code: public void afterSuite(String suiteName, String ... testGroups) {
          testSuiteListener.onFinish();
  
          if (!CollectionUtils.isEmpty(afterSuite)) {
              for (SequenceAfterSuite sequenceAfterSuite : afterSuite) {
                  try {
                      if (sequenceAfterSuite.shouldExecute(suiteName, testGroups)) {
                          sequenceAfterSuite.execute(createTestContext());
                      }
                  } catch (Exception e) {
                      testSuiteListener.onFinishFailure(e);
                      throw new AssertionError("After suite failed with errors", e);
                  }
              }
  
              testSuiteListener.onFinishSuccess();
          } else {
              testSuiteListener.onFinishSuccess();
          }
      }
docs: Performs after suite test actions.
  @param suiteName
  @param testGroups