Class LicenceInfo

java.lang.Object
de.hybris.platform.jalo.security.LicenceInfo

public class LicenceInfo extends Object
This class provides detailed information about a licence term. A LicenceInfo contains a status (INFO, WARNING, ERROR), the current sytem value, the allowed licence value and a readable message.
  • Constructor Details

    • LicenceInfo

      public LicenceInfo(LicenceInfo.Status st, String cValue, String aValue, String mes)
      Only method to create a LicenceInfo object. Is used by AccessManager.checkLicence()
      Parameters:
      st - the status, can be INFO, WARNING, ERROR
      cValue - the current value in the system
      aValue - the allowed value by the licence
      mes - the message which is more significant
  • Method Details

    • toString

      public String toString()
      returns all information of this object as a string.
      Overrides:
      toString in class Object
    • getAllowedValue

      public String getAllowedValue()
    • getCurrentValue

      public String getCurrentValue()
    • getMessage

      public String getMessage()
    • getStatus

      public String getStatus()