public class GrepLogsAntTask
extends org.apache.tools.ant.Task
| Constructor and Description |
|---|
GrepLogsAntTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
execute()
Search @{link sourceDir} for errors and report them in @{link outFile}
If the total number of errors found exceeds the @{link threshold} then
throw a @{link BuildException}.
|
void |
setOutFile(String out)
required ant boilerplate setter
|
void |
setSourceDir(String dir)
required ant boilerplate setter
|
void |
setThreshold(int t)
required ant boilerplate setter
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void setSourceDir(String dir)
public void setOutFile(String out)
public void setThreshold(int t)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.