Class BuildLogIndication
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication
-
- com.sonyericsson.jenkins.plugins.bfa.model.indication.BuildLogIndication
-
- All Implemented Interfaces:
Describable<Indication>
,Serializable
- Direct Known Subclasses:
MultilineBuildLogIndication
public class BuildLogIndication extends Indication
Indication that parses the build log file for a pattern.- Author:
- Tomas Westling <thomas.westling@sonyericsson.com>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BuildLogIndication.BuildLogIndicationDescriptor
The descriptor.-
Nested classes/interfaces inherited from class com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication
Indication.IndicationDescriptor
-
-
Constructor Summary
Constructors Constructor Description BuildLogIndication(String pattern)
Standard constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Indication.IndicationDescriptor
getDescriptor()
Pattern
getPattern()
Getter for the pattern to match.FailureReader
getReader()
Gets a FailureReader used for finding this indication.-
Methods inherited from class com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication
getUserProvidedExpression, toString, validate
-
-
-
-
Constructor Detail
-
BuildLogIndication
@DataBoundConstructor public BuildLogIndication(String pattern)
Standard constructor.- Parameters:
pattern
- the string value to search for.
-
-
Method Detail
-
getReader
public FailureReader getReader()
Description copied from class:Indication
Gets a FailureReader used for finding this indication.- Specified by:
getReader
in classIndication
- Returns:
- a FailureReader.
-
getPattern
public Pattern getPattern()
Description copied from class:Indication
Getter for the pattern to match. The compiled pattern may not be identical to the pattern provided by the user.- Specified by:
getPattern
in classIndication
- Returns:
- the pattern to match.
-
getDescriptor
public Indication.IndicationDescriptor getDescriptor()
-
-