Class BuildLogFailureReader
java.lang.Object
com.sonyericsson.jenkins.plugins.bfa.model.FailureReader
com.sonyericsson.jenkins.plugins.bfa.model.BuildLogFailureReader
Reader used to find indications of a failure cause.
- Author:
- Tomas Westling <tomas.westling@sonymobile.com>
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sonyericsson.jenkins.plugins.bfa.model.FailureReader
FailureReader.InterruptibleCharSequence
-
Field Summary
Fields inherited from class com.sonyericsson.jenkins.plugins.bfa.model.FailureReader
indication
-
Constructor Summary
-
Method Summary
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.model.FailureReader
scan, scan, scan, scanMultiLineOneFile, scanSingleLinePatterns
-
Constructor Details
-
BuildLogFailureReader
Standard constructor.- Parameters:
indication
- the indication to look for.
-
-
Method Details
-
scan
Scans a build log.- Overrides:
scan
in classFailureReader
- Parameters:
build
- - the build whose log should be scanned.- Returns:
- a FoundIndication if the pattern given by this BuildLogFailureReader is found in the log of the given build; return null otherwise.
- Throws:
IOException
- if so.
-