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