org.apache.ant.antunit
Class LogContains

java.lang.Object
  extended by ProjectComponent
      extended by org.apache.ant.antunit.LogContains

public class LogContains
extends ProjectComponent

A condition that tests the log output of the current project for a given string.

Works in conjunction with LogCapturer and needs the context provided by AntUnit.


Constructor Summary
LogContains()
           
 
Method Summary
 boolean eval()
           
 void setLevel(Echo.EchoLevel echoLevel)
          minimal log priority to consult.
 void setText(java.lang.String t)
          Test the log shall contain.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LogContains

public LogContains()
Method Detail

setText

public void setText(java.lang.String t)
Test the log shall contain.


setLevel

public void setLevel(Echo.EchoLevel echoLevel)
minimal log priority to consult.


eval

public boolean eval()