This is planned to be a service that fills/updates a database with question, since api can not be filtered on close votes / flags.
Currently its a test implementation of the api, to understand what can be achieved.
The main class is CloseVoteFinder, it currently has a static API THROTTLE set to 1 seconds and MAX_PAGES=20
To test bot this code can be used:
Properties properties = new Properties();
String tag = "php";
BotCommands botCmd = new BotCommands();
CherryPickResult resultCherryPick = botCmd.getCherryPickBatch(0L, 0L, tag, 10, null, null, null, null);
String htmlCherry = resultCherryPick.getHTML();
//For possible dupes
CherryPickResult resultPossibileDupes = botCmd.getPossibileDuplicatesBatch(0, 0, tag, 10);
String htmlPDupes = resultPossibileDupes.getHTML();
There is also a temporary (only for testing) Swing application CVAppSwing.java executed by the SOCVDBService.jar (executable jar)