Class JiraSearch
java.lang.Object
com.northconcepts.datapipeline.foundations.core.Bean
com.northconcepts.datapipeline.jira.JiraSearch
- All Implemented Interfaces:
DataExceptionContributor,JsonSerializable,RecordSerializable,XmlSerializable,Serializable
A Jira issue search request: the JQL query, page size, fields to return and the token of the next page.
- See Also:
-
Field Summary
Fields inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
SERIALIZED_CLASS_NAME, TYPEFields inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
XML_SERIALIZED_CLASS_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionString[]getJql()intReturns the number of issues requested per page (defaults to 50).Returns the token of the next page of results to request;JiraIssueReaderupdates it after each page.searchIssuesById(String... issueIds) Restricts the JQL to the given issue IDs by prependingissuekey in (...), joined to any existing JQL with AND; null leaves the JQL unchanged.setMaxResults(int maxResults) Sets the number of issues requested per page (defaults to 50).setNextPageToken(String nextPageToken) Sets the token of the next page of results to request;JiraIssueReaderupdates it after each page.Methods inherited from class com.northconcepts.datapipeline.foundations.core.Bean
addExceptionProperties, fromRecord, toRecord, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.northconcepts.datapipeline.core.DataExceptionContributor
addExceptionProperties, exception, exception, exceptionMethods inherited from interface com.northconcepts.datapipeline.core.RecordSerializable
fromJson, fromJson, toJson, toJson, toJsonMethods inherited from interface com.northconcepts.datapipeline.core.XmlSerializable
fromXml, fromXml, fromXmlElement, toXml, toXml, toXml, toXml, toXml, toXmlElement
-
Constructor Details
-
JiraSearch
public JiraSearch()
-
-
Method Details
-
getJql
-
setJql
-
getMaxResults
public int getMaxResults()Returns the number of issues requested per page (defaults to 50). -
setMaxResults
Sets the number of issues requested per page (defaults to 50). -
getFields
-
setFields
-
getNextPageToken
Returns the token of the next page of results to request;JiraIssueReaderupdates it after each page. -
setNextPageToken
Sets the token of the next page of results to request;JiraIssueReaderupdates it after each page. -
searchIssuesById
Restricts the JQL to the given issue IDs by prependingissuekey in (...), joined to any existing JQL with AND; null leaves the JQL unchanged.
-