Class EventsControl
- java.lang.Object
-
- com.atlassian.bamboo.testutils.backdoor.BackdoorControl<EventsControl>
-
- com.atlassian.bamboo.testutils.backdoor.EventsControl
-
public class EventsControl extends BackdoorControl<EventsControl>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
BackdoorControl.AddXsrfNoCheckTokenFilter, BackdoorControl.JsonMediaTypeFilter
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
ADMIN_REST_PATH, API_REST_PATH, DEFAULT_REST_PATH, rootPath
-
-
Constructor Summary
Constructors Constructor Description EventsControl(@NotNull BambooEnvironmentData environmentData)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
deleteEvent(EventRegistry.EventMatcher matcher)
Attempt to delete event in the EventResource's cache.String
waitForEvent(EventRegistry.EventMatcher matcher, com.atlassian.pageobjects.elements.query.Poller.WaitTimeout timeout, String message)
-
Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
client, createResource, createResourceForPath, get, getEnvironmentData, getRestModulePath, percentEncode, ping, post, resourceRoot, tearDown
-
-
-
-
Constructor Detail
-
EventsControl
public EventsControl(@NotNull @NotNull BambooEnvironmentData environmentData)
-
-
Method Detail
-
waitForEvent
public String waitForEvent(EventRegistry.EventMatcher matcher, com.atlassian.pageobjects.elements.query.Poller.WaitTimeout timeout, String message)
-
deleteEvent
public boolean deleteEvent(EventRegistry.EventMatcher matcher)
Attempt to delete event in the EventResource's cache. This method doesn't fail even if event is not found- Returns:
- true if event was found and removed, false if event was not found
-
-