public final class AdvancedAuditingClient extends com.atlassian.jira.testkit.client.RestApiClient<AdvancedAuditingClient>
All the POJOs and the logic responsible for auditing came from cross product plugin and the name is atlassian-audit.
Modifier and Type | Class and Description |
---|---|
static class |
AdvancedAuditingClient.AuditAffectedObjects |
static class |
AdvancedAuditingClient.AuditAuthorEntity |
static class |
AdvancedAuditingClient.AuditChangedValuesEntity |
static class |
AdvancedAuditingClient.AuditEntities |
static class |
AdvancedAuditingClient.AuditExtraAttributes |
static class |
AdvancedAuditingClient.AuditTypeEntity |
static class |
AdvancedAuditingClient.PaginationInfo |
static class |
AdvancedAuditingClient.ViewResponse |
Constructor and Description |
---|
AdvancedAuditingClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) |
Modifier and Type | Method and Description |
---|---|
void |
allAreasTo(String coverageLevel) |
protected com.sun.jersey.api.client.WebResource |
createResource() |
List<AdvancedAuditingClient.AuditEntities> |
takeAllEvents() |
List<AdvancedAuditingClient.AuditEntities> |
takeAllEvents(int limit) |
List<AdvancedAuditingClient.AuditEntities> |
takeAllEventsWithAffectedObject(String affectedObjectType,
String affectedObjectId) |
AdvancedAuditingClient.AuditEntities |
waitUntilEventIsFound(String eventSummary)
This method was introduced to reduce flakiness of tests that use audit log entries to confirm some actions.
|
AdvancedAuditingClient.AuditEntities |
waitUntilEventIsFound(String eventSummary,
int secondsAtMost) |
anonymous, cleanUp, client, createResourceGadget, createResourceInternal, errorResponse, expanded, getEnvironmentData, loginAs, loginAs, percentEncode, registerResponse, resourceRoot, setOf, toResponse, toResponse, toResponse
public AdvancedAuditingClient(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
public void allAreasTo(String coverageLevel)
public List<AdvancedAuditingClient.AuditEntities> takeAllEvents()
public List<AdvancedAuditingClient.AuditEntities> takeAllEvents(int limit)
limit
- number of returned eventspublic List<AdvancedAuditingClient.AuditEntities> takeAllEventsWithAffectedObject(String affectedObjectType, String affectedObjectId)
public AdvancedAuditingClient.AuditEntities waitUntilEventIsFound(String eventSummary)
eventSummary
- example "Issue created"public AdvancedAuditingClient.AuditEntities waitUntilEventIsFound(String eventSummary, int secondsAtMost)
protected com.sun.jersey.api.client.WebResource createResource()
createResource
in class com.atlassian.jira.testkit.client.RestApiClient<AdvancedAuditingClient>
Copyright © 2002-2023 Atlassian. All Rights Reserved.