Package com.itextpdf.licensing.base.info
Class EventsLimitInfo
java.lang.Object
com.itextpdf.licensing.base.info.EventsLimitInfo
Class contains
LimitInfo
for each types of event limits and default limit.
-
Constructor Summary
ConstructorsConstructorDescriptionEventsLimitInfo
(LimitInfo defaultLimit, Map<String, LimitInfo> eventLimits) Only for internal usage. -
Method Summary
-
Constructor Details
-
EventsLimitInfo
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 isLimitInfo
-
-
Method Details
-
getDefaultLimit
Returns defaultLimitInfo
.- Returns:
-
LimitInfo
for default event
-
getEventsLimitInfo
Returns map withLimitInfo
for all event types.- Returns:
- map where the key is event type and values is event limit info
-
getEventLimit
ReturnsLimitInfo
for provided event type.- Parameters:
-
eventType
- type of event - Returns:
-
LimitInfo
-
equals
-
hashCode
public int hashCode()
-