@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, waithasEventThatPreventsStartuppublic DefaultJiraJohnsonContainer(com.atlassian.johnson.JohnsonEventContainer delegate)
public Collection<com.atlassian.johnson.event.Event> getEventsThatPreventStartup()
JiraJohnsonContainergetEventsThatPreventStartup in interface JiraJohnsonContainerpublic void addEvent(com.atlassian.johnson.event.Event event)
addEvent in interface com.atlassian.johnson.JohnsonEventContainerpublic void clear()
clear in interface com.atlassian.johnson.JohnsonEventContainer@Nonnull public Collection<com.atlassian.johnson.event.Event> getEvents()
getEvents in interface com.atlassian.johnson.JohnsonEventContainerpublic boolean hasEvents()
hasEvents in interface com.atlassian.johnson.JohnsonEventContainerpublic 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.JohnsonEventContainerpublic Collection<com.atlassian.johnson.event.Event> getEvents(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
getEvents in interface com.atlassian.johnson.JohnsonEventContainerpublic boolean hasEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
hasEvent in interface com.atlassian.johnson.JohnsonEventContainerpublic Optional<com.atlassian.johnson.event.Event> firstEvent(java.util.function.Predicate<? super com.atlassian.johnson.event.Event> predicate)
firstEvent in interface com.atlassian.johnson.JohnsonEventContainerCopyright © 2002-2019 Atlassian. All Rights Reserved.