Class StringMatchingInterceptor
- java.lang.Object
-
- com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
-
- com.atlassian.bamboo.build.logger.interceptors.StringMatchingInterceptor
-
- All Implemented Interfaces:
LogInterceptor
,Serializable
public class StringMatchingInterceptor extends ContentMatchingInterceptor
This interceptor is a string-matching variant ofContentMatchingInterceptor
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
stringToMatch
-
-
Constructor Summary
Constructors Constructor Description StringMatchingInterceptor(String stringToMatch, boolean matchErrorMessages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
matches(LogEntry logEntry)
-
Methods inherited from class com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
getMatchAge, getStringToMatch, hasMatched, intercept, interceptError, isMatchRecentEnough
-
-
-
-
Constructor Detail
-
StringMatchingInterceptor
public StringMatchingInterceptor(String stringToMatch, boolean matchErrorMessages)
-
-
Method Detail
-
matches
protected boolean matches(LogEntry logEntry)
- Specified by:
matches
in classContentMatchingInterceptor
-
-