Class TapirLicenseChecker

  • All Implemented Interfaces:
    java.util.EventListener, org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>

    public class TapirLicenseChecker
    extends java.lang.Object
    implements org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
    This listener is executed automatically during the start of the tests and lets LicenseCheckers check the validity of the license
    Since:
    3.0.0
    Author:
    Nils Christian Ehmke<[email protected]>
    • Constructor Detail

      • TapirLicenseChecker

        public TapirLicenseChecker()
    • Method Detail

      • onApplicationEvent

        public void onApplicationEvent​(org.springframework.boot.context.event.ApplicationReadyEvent event)
        Specified by:
        onApplicationEvent in interface org.springframework.context.ApplicationListener<org.springframework.boot.context.event.ApplicationReadyEvent>
      • checkLicenseValidity

        public void checkLicenseValidity()
      • getLicenseCheckerClassNames

        public java.util.Set<java.lang.String> getLicenseCheckerClassNames()