Package de.oktoflow.platform.cmdTools
Class JenkinsHtmlParser
java.lang.Object
de.oktoflow.platform.cmdTools.JenkinsHtmlParser
Parses Jenkins overview pages, in particular tasks and related build id and build time.
- Author:
- Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate static classA parse result. -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
JenkinsHtmlParser
public JenkinsHtmlParser()
-
-
Method Details
-
parseUnit
Parses a (time) unit.- Parameters:
text- the text to parseunits- the available units- Returns:
- the parse result
-
parseTime
Parses time.- Parameters:
text- the text to be parsed- Returns:
- the time
-
main
Parses a Jenkins HTML page.- Parameters:
args- the command line arguments, first the file to be parsed, second optional the output file- Throws:
IOException- if the file cannot be read
-