Package b4j.core.session.bugzilla.async
Class AsyncBugzillaMetadataRestClient
java.lang.Object
com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient
b4j.core.session.bugzilla.async.AbstractAsyncRestClient
b4j.core.session.bugzilla.async.AsyncBugzillaMetadataRestClient
- All Implemented Interfaces:
BugzillaMetadataRestClient
public class AsyncBugzillaMetadataRestClient extends AbstractAsyncRestClient implements BugzillaMetadataRestClient
The client responsible for getting metadata information.
- Since:
- 2.0
- Author:
- ralph
-
Nested Class Summary
-
Constructor Summary
Constructors Constructor Description AsyncBugzillaMetadataRestClient(AsyncBugzillaRestClient mainClient)
Constructor. -
Method Summary
Modifier and Type Method Description com.atlassian.util.concurrent.Promise<ServerInfo>
getServerInfo()
Retrieves information about this Bugzilla instanceMethods inherited from class b4j.core.session.bugzilla.async.AbstractAsyncRestClient
get, getBaseUri, getLazyRetriever, getLoginToken, getMainClient, getPostResponse, postAndParse, postAndParse
-
Constructor Details
-
AsyncBugzillaMetadataRestClient
Constructor.- Parameters:
mainClient
- reference to main REST client
-
-
Method Details
-
getServerInfo
Retrieves information about this Bugzilla instance- Specified by:
getServerInfo
in interfaceBugzillaMetadataRestClient
- Returns:
- information about this Bugzilla instance
-