Class GHIssueQueryBuilder

java.lang.Object
org.kohsuke.github.GHQueryBuilder<GHIssue>
org.kohsuke.github.GHIssueQueryBuilder
Direct Known Subclasses:
GHIssueQueryBuilder.ForRepository

public abstract class GHIssueQueryBuilder extends GHQueryBuilder<GHIssue>
The Class GHIssueQueryBuilder.
  • Method Details

    • state

      public GHIssueQueryBuilder state(GHIssueState state)
      State gh issue query builder.
      Parameters:
      state - the state
      Returns:
      the gh issue query builder
    • label

      public GHIssueQueryBuilder label(String label)
      Labels gh issue query builder.
      Parameters:
      label - the labels
      Returns:
      the gh issue query builder
    • sort

      Sort gh issue query builder.
      Parameters:
      sort - the sort
      Returns:
      the gh issue query builder
    • direction

      public GHIssueQueryBuilder direction(GHDirection direction)
      Direction gh issue query builder.
      Parameters:
      direction - the direction
      Returns:
      the gh issue query builder
    • since

      public GHIssueQueryBuilder since(Date date)
      Only issues after this date will be returned.
      Parameters:
      date - the date
      Returns:
      the gh issue query builder
    • since

      public GHIssueQueryBuilder since(long timestamp)
      Only issues after this date will be returned.
      Parameters:
      timestamp - the timestamp
      Returns:
      the gh issue query builder
    • pageSize

      public GHIssueQueryBuilder pageSize(int pageSize)
      Page size gh issue query builder.
      Parameters:
      pageSize - the page size
      Returns:
      the gh issue query builder
    • getApiUrl

      public abstract String getApiUrl()
      Gets the api url.
      Returns:
      the api url