Class BuildLogFailureReader


  • public class BuildLogFailureReader
    extends FailureReader
    Reader used to find indications of a failure cause.
    Author:
    Tomas Westling <tomas.westling@sonymobile.com>
    • Constructor Detail

      • BuildLogFailureReader

        public BuildLogFailureReader​(BuildLogIndication indication)
        Standard constructor.
        Parameters:
        indication - the indication to look for.
    • Method Detail

      • scan

        public FoundIndication scan​(Run build)
                             throws IOException
        Scans a build log.
        Overrides:
        scan in class FailureReader
        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.