@Internal public class JiraPluginCacheResetEvent extends Object
PluginTransactionEndEvent.
It was a breaking API change, as this changed the contract where plugins depend on the PluginEnabledEvent
to give the same guarantee. Since 8.2.4 the contract is back and this event is also triggered by PluginEnabledEvent.
JiraPluginCacheResetEvent is send in no cache replication context.
See ReplicationPauserManager| Constructor and Description |
|---|
JiraPluginCacheResetEvent(com.atlassian.plugin.event.events.PluginTransactionEndEvent pluginTransactionEndEvent) |
| Modifier and Type | Method and Description |
|---|---|
com.google.common.collect.ImmutableList<Object> |
getEvents()
See
PluginTransactionEndEvent.getEvents() |
<T> boolean |
hasAnyEventOfTypeMatching(Class<T> eventTypeClass,
java.util.function.Predicate<T> anyMatchEventPredicate)
See
PluginTransactionEndEvent.hasAnyEventOfTypeMatching(Class, Predicate) |
boolean |
hasAnyEventWithModuleDescriptorMatching(java.util.function.Predicate<com.atlassian.plugin.ModuleDescriptor<?>> anyMatchModuleDescriptorPredicate)
See
PluginTransactionEndEvent.hasAnyEventWithModuleDescriptorMatching(Predicate) |
int |
numberOfEvents()
See
PluginTransactionEndEvent.numberOfEvents() |
public JiraPluginCacheResetEvent(com.atlassian.plugin.event.events.PluginTransactionEndEvent pluginTransactionEndEvent)
public com.google.common.collect.ImmutableList<Object> getEvents()
PluginTransactionEndEvent.getEvents()public int numberOfEvents()
PluginTransactionEndEvent.numberOfEvents()public <T> boolean hasAnyEventOfTypeMatching(Class<T> eventTypeClass, java.util.function.Predicate<T> anyMatchEventPredicate)
PluginTransactionEndEvent.hasAnyEventOfTypeMatching(Class, Predicate)public boolean hasAnyEventWithModuleDescriptorMatching(java.util.function.Predicate<com.atlassian.plugin.ModuleDescriptor<?>> anyMatchModuleDescriptorPredicate)
PluginTransactionEndEvent.hasAnyEventWithModuleDescriptorMatching(Predicate)Copyright © 2002-2019 Atlassian. All Rights Reserved.