Class EventsControl
java.lang.Object
com.atlassian.bamboo.testutils.backdoor.BackdoorControl<EventsControl>
com.atlassian.bamboo.testutils.backdoor.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, XSRF_NO_CHECK, XSRF_TOKEN_HEADER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
deleteEvent
(EventRegistry.EventMatcher matcher) Attempt to delete event in the EventResource's cache.waitForEvent
(EventRegistry.EventMatcher matcher, com.atlassian.pageobjects.elements.query.Poller.WaitTimeout timeout, String message) Methods inherited from class com.atlassian.bamboo.testutils.backdoor.BackdoorControl
anonymousResourceRoot, client, createResource, createResourceForPath, createResourceForPath, get, getEnvironmentData, getRestModulePath, getRootPath, percentEncode, ping, post, resourceRoot, tearDown
-
Constructor Details
-
EventsControl
-
-
Method Details
-
waitForEvent
public String waitForEvent(EventRegistry.EventMatcher matcher, com.atlassian.pageobjects.elements.query.Poller.WaitTimeout timeout, String message) -
deleteEvent
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
-