Class IssueFilter

  • All Implemented Interfaces:
    java.io.Serializable

    public class IssueFilter
    extends java.lang.Object
    implements java.io.Serializable
    This class is used to filter issues when getting lists of them.
    See Also:
    Serialized Form
    • Constructor Detail

      • IssueFilter

        public IssueFilter()
    • Method Detail

      • getIids

        public java.util.List<java.lang.Long> getIids()
      • setIids

        public void setIids​(java.util.List<java.lang.Long> iids)
      • getIn

        public java.util.List<java.lang.String> getIn()
      • setIn

        public void setIn​(java.util.List<java.lang.String> in)
      • getLabels

        public java.util.List<java.lang.String> getLabels()
      • setLabels

        public void setLabels​(java.util.List<java.lang.String> labels)
      • getMilestone

        public java.lang.String getMilestone()
      • setMilestone

        public void setMilestone​(java.lang.String milestone)
      • getAuthorId

        public java.lang.Long getAuthorId()
      • setAuthorId

        public void setAuthorId​(java.lang.Long authorId)
      • getAssigneeId

        public java.lang.Long getAssigneeId()
      • setAssigneeId

        public void setAssigneeId​(java.lang.Long assigneeId)
      • getMyReactionEmoji

        public java.lang.String getMyReactionEmoji()
      • setMyReactionEmoji

        public void setMyReactionEmoji​(java.lang.String myReactionEmoji)
      • getSearch

        public java.lang.String getSearch()
      • setSearch

        public void setSearch​(java.lang.String search)
      • getCreatedAfter

        public java.util.Date getCreatedAfter()
      • setCreatedAfter

        public void setCreatedAfter​(java.util.Date createdAfter)
      • getCreatedBefore

        public java.util.Date getCreatedBefore()
      • setCreatedBefore

        public void setCreatedBefore​(java.util.Date createdBefore)
      • getUpdatedAfter

        public java.util.Date getUpdatedAfter()
      • setUpdatedAfter

        public void setUpdatedAfter​(java.util.Date updatedAfter)
      • getUpdatedBefore

        public java.util.Date getUpdatedBefore()
      • setUpdatedBefore

        public void setUpdatedBefore​(java.util.Date updatedBefore)
      • getIterationTitle

        public java.lang.String getIterationTitle()
      • setIterationTitle

        public void setIterationTitle​(java.lang.String iterationTitle)
      • withIids

        public IssueFilter withIids​(java.util.List<java.lang.Long> iids)
      • withLabels

        public IssueFilter withLabels​(java.util.List<java.lang.String> labels)
      • withMilestone

        public IssueFilter withMilestone​(java.lang.String milestone)
      • withAuthorId

        public IssueFilter withAuthorId​(java.lang.Long authorId)
      • withAssigneeId

        public IssueFilter withAssigneeId​(java.lang.Long assigneeId)
      • withMyReactionEmoji

        public IssueFilter withMyReactionEmoji​(java.lang.String myReactionEmoji)
      • withSearch

        public IssueFilter withSearch​(java.lang.String search)
      • withCreatedAfter

        public IssueFilter withCreatedAfter​(java.util.Date createdAfter)
      • withCreatedBefore

        public IssueFilter withCreatedBefore​(java.util.Date createdBefore)
      • withUpdatedAfter

        public IssueFilter withUpdatedAfter​(java.util.Date updatedAfter)
      • withUpdatedBefore

        public IssueFilter withUpdatedBefore​(java.util.Date updatedBefore)
      • withIterationTitle

        public IssueFilter withIterationTitle​(java.lang.String iterationTitle)
      • withNot

        public IssueFilter withNot​(java.util.Map<IssueFilter.IssueField,​java.lang.Object> not)
        Add 'not' filter.
        Parameters:
        not - the 'not' filter
        Returns:
        the reference to this IssueFilter instance
      • withNot

        public IssueFilter withNot​(IssueFilter.IssueField field,
                                   java.lang.Object value)
        Add 'not' filter entry.
        Parameters:
        field - the field to be added to the 'not' value
        value - the value for the entry
        Returns:
        the reference to this IssueField instance
      • withoutLabels

        public IssueFilter withoutLabels​(java.lang.String... labels)
        Add labels to the 'not' filter entry.
        Parameters:
        labels - the labels to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutIids

        public IssueFilter withoutIids​(java.lang.String... iids)
      • withoutAuthorId

        public IssueFilter withoutAuthorId​(java.lang.Long authorId)
        Add author_id to the 'not' filter entry.
        Parameters:
        authorId - the id of the author to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutAuthorUsername

        public IssueFilter withoutAuthorUsername​(java.lang.String authorUsername)
        Add author_username to the 'not' filter entry.
        Parameters:
        authorUsername - the username of the author to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutAssigneeId

        public IssueFilter withoutAssigneeId​(java.lang.Long assigneeId)
        Add assignee_id to the 'not' filter entry.
        Parameters:
        assigneeId - the id of the assignee to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutAssigneeUsername

        public IssueFilter withoutAssigneeUsername​(java.lang.String assigneeUsername)
        Add assignee_username to the 'not' filter entry.
        Parameters:
        assigneeUsername - the username of the assignee to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutIterationId

        public IssueFilter withoutIterationId​(java.lang.Long iterationId)
        Add iteration_id to the 'not' filter entry.
        Parameters:
        iterationId - the id of the iteration to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutIterationTitle

        public IssueFilter withoutIterationTitle​(java.lang.String iterationTitle)
        Add iteration_title to the 'not' filter entry.
        Parameters:
        iterationTitle - the title of the iteration to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutMilestoneId

        public IssueFilter withoutMilestoneId​(java.lang.Long milestoneId)
        Add milestone_id to the 'not' filter entry.
        Parameters:
        milestoneId - the id of the milestone to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • withoutMilestone

        public IssueFilter withoutMilestone​(java.lang.String milestone)
        Add milestone to the 'not' filter entry.
        Parameters:
        milestone - the title of the milestone to add to the filter
        Returns:
        the reference to this IssueFilter instance
      • getQueryParams

        public GitLabForm getQueryParams​(int page,
                                         int perPage)
      • getQueryParams

        public GitLabForm getQueryParams()