public class LogContains
extends org.apache.tools.ant.ProjectComponent
implements org.apache.tools.ant.taskdefs.condition.Condition
Works in conjunction with LogCapturer
and
needs the context provided by AntUnit.
Constructor and Description |
---|
LogContains() |
Modifier and Type | Method and Description |
---|---|
boolean |
eval() |
void |
setLevel(org.apache.tools.ant.taskdefs.Echo.EchoLevel echoLevel)
minimal log priority to consult.
|
void |
setText(java.lang.String t)
Test the log shall contain.
|
public void setText(java.lang.String t)
public void setLevel(org.apache.tools.ant.taskdefs.Echo.EchoLevel echoLevel)
public boolean eval()
eval
in interface org.apache.tools.ant.taskdefs.condition.Condition
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.