public abstract class ShortDurationHideAction extends HideAction
HideAction only supports durations measured in hours. Recently, it has
become clear that we need to support hiding notices for shorter periods. Subclass this abstract
NotificationAction in order to support any duration. Pass a duration in millis via the
constructor.HIDE_DURATION_HOURS_ATTRIBUTE_NAME, INSTANCE| Modifier | Constructor and Description |
|---|---|
protected |
ShortDurationHideAction(long hideDurationMillis)
Subclasses must specify the duration with a call to
super(). |
equals, hashCode, invoke, invoke