Class MultilineBuildLogIndication
- java.lang.Object
-
- com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication
-
- com.sonyericsson.jenkins.plugins.bfa.model.indication.BuildLogIndication
-
- com.sonyericsson.jenkins.plugins.bfa.model.indication.MultilineBuildLogIndication
-
- All Implemented Interfaces:
Describable<Indication>
,Serializable
public class MultilineBuildLogIndication extends BuildLogIndication
Build log indication that matches over multiple lines.- Author:
- Andrew Bayer
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MultilineBuildLogIndication.MultilineBuildLogIndicationDescriptor
The descriptor.-
Nested classes/interfaces inherited from class com.sonyericsson.jenkins.plugins.bfa.model.indication.BuildLogIndication
BuildLogIndication.BuildLogIndicationDescriptor
-
Nested classes/interfaces inherited from class com.sonyericsson.jenkins.plugins.bfa.model.indication.Indication
Indication.IndicationDescriptor
-
-
Constructor Summary
Constructors Constructor Description MultilineBuildLogIndication(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
-
MultilineBuildLogIndication
@DataBoundConstructor public MultilineBuildLogIndication(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.- Overrides:
getReader
in classBuildLogIndication
- 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.- Overrides:
getPattern
in classBuildLogIndication
- Returns:
- the pattern to match.
-
getDescriptor
public Indication.IndicationDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Indication>
- Overrides:
getDescriptor
in classBuildLogIndication
-
-