Package com.sonalake.swaggerlog.diff
Class LogGenerator
- java.lang.Object
-
- com.sonalake.swaggerlog.diff.LogGenerator
-
public class LogGenerator extends java.lang.ObjectGiven the config, collect and sort the swaggers from nexus, and produce both the diffs and their index file.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.StringCHANGE_LOG_ADOC
-
Constructor Summary
Constructors Constructor Description LogGenerator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ScannerbuildScanner()Build a scanner for the given configvoidgenerateChangeLog()Given the config, loop through the git history and produce a changelog
-
-
-
Field Detail
-
CHANGE_LOG_ADOC
protected static final java.lang.String CHANGE_LOG_ADOC
- See Also:
- Constant Field Values
-
-
Method Detail
-
generateChangeLog
public void generateChangeLog() throws java.io.IOExceptionGiven the config, loop through the git history and produce a changelog- Throws:
java.io.IOException- When the output file can't be created
-
buildScanner
protected Scanner buildScanner()
Build a scanner for the given config- Returns:
- The nexus scanner
-
-