Class AbstractLicense

java.lang.Object
ch.nolix.base.environment.license.AbstractLicense
All Implemented Interfaces:
License
Direct Known Subclasses:
Nolix2026Pro

public abstract class AbstractLicense extends Object implements License
Author:
Silvan Wyss
  • Constructor Details

    • AbstractLicense

      public AbstractLicense()
  • Method Details

    • activateWithKey

      public final void activateWithKey(String key)
      Activates the current License with the given key.
      Specified by:
      activateWithKey in interface License
      Parameters:
      key -
    • getName

      public final String getName()
      Specified by:
      getName in interface License
      Returns:
      the name of the current License
    • isActivated

      public final boolean isActivated()
      Specified by:
      isActivated in interface License
      Returns:
      true if the current License is activated, false otherwise