Class History

java.lang.Object
com.vaadin.pro.licensechecker.History

public class History extends Object
  • Field Details

    • DEFAULT_PRE_TRIAL_DURATION_DAYS

      public static final int DEFAULT_PRE_TRIAL_DURATION_DAYS
      See Also:
  • Constructor Details

    • History

      public History()
  • Method Details

    • getLastCheckTime

      public static Instant getLastCheckTime(Product product, BuildType buildType, ProKey proKey)
    • getLastSubscription

      public static String getLastSubscription(Product product, ProKey proKey)
    • setLastSubscription

      public static String setLastSubscription(Product product, String subscription, ProKey proKey)
    • getLastPreTrialCheckTime

      public static Instant getLastPreTrialCheckTime(Product product, String machineId)
    • clearAll

      public static void clearAll() throws Exception
      Clears the local check history so that all products are checked again.
      Throws:
      Exception