Class BFCGitHubCollector
java.lang.Object
edu.handong.csee.isel.bfc.collector.BFCGitHubCollector
- All Implemented Interfaces:
BFCCollectable
public class BFCGitHubCollector extends java.lang.Object implements BFCCollectable
This class is Collector to find BUG FIX COMMITS using label in Github.
-
Constructor Summary
Constructors Constructor Description BFCGitHubCollector(java.lang.String gitURL, java.lang.String label) -
Method Summary
Modifier and Type Method Description java.util.List<java.lang.String>collectFrom(java.util.List<org.eclipse.jgit.revwalk.RevCommit> commitList)Github Issues use labels to manage Bug issues.
-
Constructor Details
-
BFCGitHubCollector
public BFCGitHubCollector(java.lang.String gitURL, java.lang.String label)
-
-
Method Details
-
collectFrom
public java.util.List<java.lang.String> collectFrom(java.util.List<org.eclipse.jgit.revwalk.RevCommit> commitList)Github Issues use labels to manage Bug issues. Since the bug label name is different for each repository, it is a method to collect the commits in the closed issue with the input label name.- Specified by:
collectFromin interfaceBFCCollectable- Parameters:
commitList-- Returns:
- bfcList
-