Class EventsLimitInfo

java.lang.Object
com.itextpdf.licensing.base.info.EventsLimitInfo

public class EventsLimitInfo extends Object
Class contains LimitInfo for each types of event limits and default limit.
  • Constructor Details

    • EventsLimitInfo

      public EventsLimitInfo (LimitInfo defaultLimit, Map<String,LimitInfo> eventLimits)
      Only for internal usage. Limits info constructor.
      Parameters:
      defaultLimit - event limit info for default limit
      eventLimits - map where the key is event type and the value is LimitInfo
  • Method Details

    • getDefaultLimit

      public LimitInfo getDefaultLimit()
      Returns default LimitInfo.
      Returns:
      LimitInfo for default event
    • getEventsLimitInfo

      public Map<String,LimitInfo> getEventsLimitInfo()
      Returns map with LimitInfo for all event types.
      Returns:
      map where the key is event type and values is event limit info
    • getEventLimit

      public LimitInfo getEventLimit (String eventType)
      Returns LimitInfo for provided event type.
      Parameters:
      eventType - type of event
      Returns:
      LimitInfo
    • equals

      public boolean equals (Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object