Class JiraCommit
- java.lang.Object
-
- org.jenkinsci.plugins.jiraext.domain.JiraCommit
-
public class JiraCommit extends Object
- Author:
- dalvizu
-
-
Constructor Summary
Constructors Constructor Description JiraCommit(String jiraTicket)
JiraCommit(String jiraTicket, ChangeLogSet.Entry changeSet)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static List<JiraCommit>
filterDuplicateIssues(List<JiraCommit> jiraCommitList)
Remove issues with the same Issue keycom.google.common.base.Optional<ChangeLogSet.Entry>
getChangeSet()
String
getJiraTicket()
int
hashCode()
-
-
-
Constructor Detail
-
JiraCommit
public JiraCommit(String jiraTicket)
-
JiraCommit
public JiraCommit(String jiraTicket, ChangeLogSet.Entry changeSet)
-
-
Method Detail
-
getJiraTicket
public String getJiraTicket()
-
getChangeSet
public com.google.common.base.Optional<ChangeLogSet.Entry> getChangeSet()
-
filterDuplicateIssues
public static List<JiraCommit> filterDuplicateIssues(List<JiraCommit> jiraCommitList)
Remove issues with the same Issue key- Parameters:
jiraCommitList
- list of commits to filter- Returns:
- a list with no two issues with the same Issue key
-
-