Class AsynchronousFilterRestClient

java.lang.Object
com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient
b4j.core.session.jira.AsynchronousFilterRestClient
All Implemented Interfaces:
FilterRestClient

public class AsynchronousFilterRestClient
extends com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient
implements FilterRestClient
Manages access to filters.
Author:
ralph
  • Nested Class Summary

    Nested classes/interfaces inherited from class com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient

    com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient.ResponseHandler<T extends java.lang.Object>
  • Constructor Summary

    Constructors 
    Constructor Description
    AsynchronousFilterRestClient​(java.net.URI baseUri, com.atlassian.httpclient.api.HttpClient client, com.atlassian.jira.rest.client.SearchRestClient searchRestClient)
    Constructor.
  • Method Summary

    Modifier and Type Method Description
    protected Filter getFilter​(java.lang.String filterId)  
    protected java.lang.String getJql​(java.lang.String filterId)  
    com.atlassian.util.concurrent.Promise<com.atlassian.jira.rest.client.domain.SearchResult> search​(java.lang.String filterId)
    Search the issues from the given filter.
    com.atlassian.util.concurrent.Promise<com.atlassian.jira.rest.client.domain.SearchResult> search​(java.lang.String filterId, int maxResults, int startAt)
    Search the issues from the given filter.

    Methods inherited from class com.atlassian.jira.rest.client.internal.async.AbstractAsynchronousRestClient

    call, callAndParse, callAndParse, client, delete, getAndParse, post, post, post, post, postAndParse, postAndParse, putAndParse

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AsynchronousFilterRestClient

      public AsynchronousFilterRestClient​(java.net.URI baseUri, com.atlassian.httpclient.api.HttpClient client, com.atlassian.jira.rest.client.SearchRestClient searchRestClient)
      Constructor.
  • Method Details

    • search

      public com.atlassian.util.concurrent.Promise<com.atlassian.jira.rest.client.domain.SearchResult> search​(java.lang.String filterId)
      Search the issues from the given filter.
      Specified by:
      search in interface FilterRestClient
      Parameters:
      filterId - the filter id
      Returns:
      the issues from that filter
    • search

      public com.atlassian.util.concurrent.Promise<com.atlassian.jira.rest.client.domain.SearchResult> search​(java.lang.String filterId, int maxResults, int startAt)
      Search the issues from the given filter.
      Specified by:
      search in interface FilterRestClient
      Parameters:
      filterId - the filter id
      Returns:
      the issues from that filter
    • getJql

      protected java.lang.String getJql​(java.lang.String filterId)
    • getFilter

      protected Filter getFilter​(java.lang.String filterId)