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.

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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:
      collectFrom in interface BFCCollectable
      Parameters:
      commitList -
      Returns:
      bfcList