public class JiraIssuePredicates extends Object
Constructor and Description |
---|
JiraIssuePredicates() |
Modifier and Type | Method and Description |
---|---|
static com.google.common.base.Predicate<InternalLinkedJiraIssue> |
allowUniqueLinkedJiraIssue() |
static com.google.common.base.Function<InternalLinkedJiraIssue,String> |
getJiraIssueDetailsKey() |
static com.google.common.base.Function<String,String> |
getJiraProjectKey() |
static com.google.common.base.Function<InternalLinkedJiraIssue,String> |
getLinkedJiraIssueKey() |
static com.google.common.base.Function<InternalLinkedJiraIssue,JiraIssueLinkType> |
getLinkedJiraIssueType() |
static com.google.common.base.Predicate<InternalLinkedJiraIssue> |
isIssueFixed() |
static com.google.common.base.Predicate<InternalLinkedJiraIssue> |
isIssueRelated() |
public static com.google.common.base.Function<InternalLinkedJiraIssue,JiraIssueLinkType> getLinkedJiraIssueType()
Function
that will return issue type from input LinkedJiraIssue
public static com.google.common.base.Function<InternalLinkedJiraIssue,String> getJiraIssueDetailsKey()
Function
that will return issue key from input JiraIssueDetails
public static com.google.common.base.Function<InternalLinkedJiraIssue,String> getLinkedJiraIssueKey()
Function
that will return issue key from input LinkedJiraIssue
public static com.google.common.base.Function<String,String> getJiraProjectKey()
Function
that will return JIRA project key from input valid JIRA issue keypublic static com.google.common.base.Predicate<InternalLinkedJiraIssue> isIssueFixed()
Predicate
that will return true for InternalLinkedJiraIssue
which type is JiraIssueLinkType.BUILD_FIXES
public static com.google.common.base.Predicate<InternalLinkedJiraIssue> isIssueRelated()
Predicate
that will return true for InternalLinkedJiraIssue
which type is JiraIssueLinkType.BUILD_RELATES
public static com.google.common.base.Predicate<InternalLinkedJiraIssue> allowUniqueLinkedJiraIssue()
Predicate
that will return true for InternalLinkedJiraIssue
if issue with the same issue key was not earlier processed by this predicateCopyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.