com.atlassian.bamboo.jira.jiraissues
Class JiraIssuePredicates

java.lang.Object
  extended by com.atlassian.bamboo.jira.jiraissues.JiraIssuePredicates

public class JiraIssuePredicates
extends java.lang.Object

Author:
Krystian Brazulewicz

Constructor Summary
JiraIssuePredicates()
           
 
Method Summary
static com.google.common.base.Predicate<InternalLinkedJiraIssue> allowUniqueLinkedJiraIssue()
           
static com.google.common.base.Function<InternalLinkedJiraIssue,java.lang.String> getJiraIssueDetailsKey()
           
static com.google.common.base.Function<java.lang.String,java.lang.String> getJiraProjectKey()
           
static com.google.common.base.Function<InternalLinkedJiraIssue,java.lang.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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JiraIssuePredicates

public JiraIssuePredicates()
Method Detail

getLinkedJiraIssueType

public static com.google.common.base.Function<InternalLinkedJiraIssue,JiraIssueLinkType> getLinkedJiraIssueType()
Returns:
Function that will return issue type from input LinkedJiraIssue

getJiraIssueDetailsKey

public static com.google.common.base.Function<InternalLinkedJiraIssue,java.lang.String> getJiraIssueDetailsKey()
Returns:
Function that will return issue key from input JiraIssueDetails

getLinkedJiraIssueKey

public static com.google.common.base.Function<InternalLinkedJiraIssue,java.lang.String> getLinkedJiraIssueKey()
Returns:
Function that will return issue key from input LinkedJiraIssue

getJiraProjectKey

public static com.google.common.base.Function<java.lang.String,java.lang.String> getJiraProjectKey()
Returns:
Function that will return JIRA project key from input valid JIRA issue key

isIssueFixed

public static com.google.common.base.Predicate<InternalLinkedJiraIssue> isIssueFixed()
Returns:
Predicate that will return true for InternalLinkedJiraIssue which type is JiraIssueLinkType.BUILD_FIXES

isIssueRelated

public static com.google.common.base.Predicate<InternalLinkedJiraIssue> isIssueRelated()
Returns:
Predicate that will return true for InternalLinkedJiraIssue which type is JiraIssueLinkType.BUILD_RELATES

allowUniqueLinkedJiraIssue

public static com.google.common.base.Predicate<InternalLinkedJiraIssue> allowUniqueLinkedJiraIssue()
Returns:
Predicate that will return true for InternalLinkedJiraIssue if issue with the same issue key was not earlier processed by this predicate


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.