@ParametersAreNonnullByDefault public class DefaultJiraJohnsonContainer extends Object implements JiraJohnsonContainer
Constructor and Description |
---|
DefaultJiraJohnsonContainer(com.atlassian.johnson.JohnsonEventContainer delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addEvent(com.atlassian.johnson.event.Event event) |
void |
clear() |
Optional<com.atlassian.johnson.event.Event> |
firstEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate) |
Collection<com.atlassian.johnson.event.Event> |
getEvents() |
Collection<com.atlassian.johnson.event.Event> |
getEvents(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate) |
Collection<com.atlassian.johnson.event.Event> |
getEventsThatPreventStartup()
Return any events are severe enough to prevent JIRA starting normally.
|
boolean |
hasEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate) |
boolean |
hasEvents() |
void |
removeEvent(com.atlassian.johnson.event.Event event) |
java.util.stream.Stream<com.atlassian.johnson.event.Event> |
stream() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
hasEventThatPreventsStartup
public DefaultJiraJohnsonContainer(com.atlassian.johnson.JohnsonEventContainer delegate)
public Collection<com.atlassian.johnson.event.Event> getEventsThatPreventStartup()
JiraJohnsonContainer
getEventsThatPreventStartup
in interface JiraJohnsonContainer
public void addEvent(com.atlassian.johnson.event.Event event)
addEvent
in interface com.atlassian.johnson.JohnsonEventContainer
public void clear()
clear
in interface com.atlassian.johnson.JohnsonEventContainer
@Nonnull public Collection<com.atlassian.johnson.event.Event> getEvents()
getEvents
in interface com.atlassian.johnson.JohnsonEventContainer
public boolean hasEvents()
hasEvents
in interface com.atlassian.johnson.JohnsonEventContainer
public void removeEvent(com.atlassian.johnson.event.Event event)
removeEvent
in interface com.atlassian.johnson.JohnsonEventContainer
@Nonnull public java.util.stream.Stream<com.atlassian.johnson.event.Event> stream()
stream
in interface com.atlassian.johnson.JohnsonEventContainer
public Collection<com.atlassian.johnson.event.Event> getEvents(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
getEvents
in interface com.atlassian.johnson.JohnsonEventContainer
public boolean hasEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
hasEvent
in interface com.atlassian.johnson.JohnsonEventContainer
public Optional<com.atlassian.johnson.event.Event> firstEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
firstEvent
in interface com.atlassian.johnson.JohnsonEventContainer
Copyright © 2002-2019 Atlassian. All Rights Reserved.