Class EntityEngineControl
java.lang.Object
com.atlassian.jira.testkit.client.RestApiClient<EntityEngineControl>
com.atlassian.jira.testkit.client.BackdoorControl<EntityEngineControl>
com.atlassian.jira.functest.framework.backdoor.BackdoorControl<EntityEngineControl>
com.atlassian.jira.functest.framework.backdoor.EntityEngineControl
Put here anything you need in Backdoor/TestKit. Later it will be promoted to the official package.
- Since:
- v5.2
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.atlassian.jira.testkit.client.RestApiClient
com.atlassian.jira.testkit.client.RestApiClient.BackdoorLoggingFilter, com.atlassian.jira.testkit.client.RestApiClient.JsonMediaTypeFilter, com.atlassian.jira.testkit.client.RestApiClient.RestCall
-
Field Summary
Fields inherited from class com.atlassian.jira.testkit.client.BackdoorControl
API_REST_PATH, API_REST_VERSION, DEFAULT_REST_PATH, logger, rootPath
Fields inherited from class com.atlassian.jira.testkit.client.RestApiClient
REST_VERSION
-
Constructor Summary
ConstructorsConstructorDescriptionEntityEngineControl
(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData) -
Method Summary
Modifier and TypeMethodDescriptioncountByAnd
(String entityName, Map restriction) Count the number of entities that match the given restriction.findByValueList
(String entityName, String field, List<?> values, List<String> returnFields, EntityEngineControl.ValueType type) findByValueList2Fields
(String entityName, String field, String field2, List<?> values, List<String> returnFields, EntityEngineControl.ValueType type) Methods inherited from class com.atlassian.jira.functest.framework.backdoor.BackdoorControl
createResource
Methods inherited from class com.atlassian.jira.testkit.client.BackdoorControl
createResourceForPath, createResourceForPath, get, getRestModulePath
Methods inherited from class com.atlassian.jira.testkit.client.RestApiClient
anonymous, authenticate, authoriseWithOAuth2, authoriseWithOAuth2, cleanUp, client, createResource, createResourceGadget, createResourceInternal, errorResponse, expanded, getCredentialsProvider, getEnvironmentData, loginAs, loginAs, registerResponse, resourceRoot, resourceRoot, setOf, toResponse, toResponse, toResponse, withCredentialsProvider
-
Constructor Details
-
EntityEngineControl
public EntityEngineControl(com.atlassian.jira.testkit.client.JIRAEnvironmentData environmentData)
-
-
Method Details
-
findByAnd
-
countByAnd
Count the number of entities that match the given restriction. It will only work for entities that have a Count view defined in entitymodel.xml e.g. IssueCount.- Parameters:
entityName
- the entity namerestriction
- the restriction- Returns:
- the number of entities that match the given restriction
-
findByValueList
-
findByValueList2Fields
-