// ĠCopyright Ġ 2 0 0 0 - 2 0 2 0 ĠJetBrains Ġs . r . o . ĠUse Ġof Ġthis Ġsource Ġcode Ġis Ġgoverned Ġby Ġthe ĠApache Ġ 2 . 0 Ġlicense Ġthat Ġcan Ġbe Ġfound Ġin Ġthe ĠLICENSE Ġfile . Ċ package Ġorg . jetbrains . plugins . github . pull request . data . provider Ċ Ċ import Ġcom . intellij . openapi . Disposable Ċ import Ġorg . jetbrains . annotations . Called In A wt Ċ import Ġorg . jetbrains . plugins . github . api . data . GH Commit Ċ import Ġorg . jetbrains . plugins . github . pull request . data . GH PR Changes Provider Ċ import Ġjava . util . concurrent . Comp letableFuture Ċ Ċ interface ĠGH PR Changes DataProvider Ġ{ ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġload Changes (): ĠCompletableFuture < GH PR Changes Provider > ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġreload Changes () ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġadd Changes Listener ( dis posable : ĠDis posable , Ġlistener : Ġ() Ġ-> ĠUnit ) ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġload Changes ( dis posable : ĠDis posable , Ġconsumer : Ġ( Comp letableFuture < GH PR Changes Provider >) Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġadd Changes Listener ( dis posable ) Ġ{ ĊĠĠĠĠĠ Ġconsumer ( load Changes ()) ĊĠĠĠ Ġ} ĊĠĠĠ Ġconsumer ( load Changes ()) ĊĠ Ġ} ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġload Commits From Api (): ĠCompletableFuture < List < GH Commit >> ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġadd Commits Listener ( dis posable : ĠDis posable , Ġlistener : Ġ() Ġ-> ĠUnit ) ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġload Commits From Api ( dis posable : ĠDis posable , Ġconsumer : Ġ( Comp letableFuture < List < GH Commit >>) Ġ-> ĠUnit ) Ġ{ ĊĠĠĠ Ġadd Commits Listener ( dis posable ) Ġ{ ĊĠĠĠĠĠ Ġconsumer ( load Commits From Api ()) ĊĠĠĠ Ġ} ĊĠĠĠ Ġconsumer ( load Commits From Api ()) ĊĠ Ġ} ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġfetch Base Branch (): ĠCompletableFuture < Unit > ĊĊĠ Ġ@ Called In A wt ĊĠ Ġfun Ġfetch Head Branch (): ĠCompletableFuture < Unit > Ċ }