com.atlassian.bamboo.build.logger.interceptors
Class StringMatchingInterceptor

java.lang.Object
  extended by com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
      extended by com.atlassian.bamboo.build.logger.interceptors.StringMatchingInterceptor
All Implemented Interfaces:
LogInterceptor, java.io.Serializable

public class StringMatchingInterceptor
extends ContentMatchingInterceptor

This interceptor is a string-matching variant of ContentMatchingInterceptor

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
stringToMatch
 
Constructor Summary
StringMatchingInterceptor(java.lang.String stringToMatch, boolean matchErrorMessages)
           
 
Method Summary
protected  boolean matches(LogEntry logEntry)
           
 
Methods inherited from class com.atlassian.bamboo.build.logger.interceptors.ContentMatchingInterceptor
getMatchAge, getStringToMatch, hasMatched, intercept, interceptError, isMatchRecentEnough
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StringMatchingInterceptor

public StringMatchingInterceptor(java.lang.String stringToMatch,
                                 boolean matchErrorMessages)
Method Detail

matches

protected boolean matches(LogEntry logEntry)
Specified by:
matches in class ContentMatchingInterceptor


Copyright © 2012 Atlassian. All Rights Reserved.