|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.nokia.ant.taskdefs.TextLogRecorderEntry
public class TextLogRecorderEntry
This is a class that represents a recorder. This is the listener to the build process.
| Constructor Summary | |
|---|---|
protected |
TextLogRecorderEntry(java.lang.String name)
|
| Method Summary | |
|---|---|
void |
buildFinished(org.apache.tools.ant.BuildEvent event)
. |
void |
buildStarted(org.apache.tools.ant.BuildEvent event)
. |
void |
cleanup()
|
void |
closeFile()
Closes the file associated with this recorder. |
java.lang.String |
getFilename()
|
void |
messageLogged(org.apache.tools.ant.BuildEvent event)
. |
void |
openFile(boolean append)
Initially opens the file associated with this recorder. |
void |
reopenFile()
Re-opens the file associated with this recorder. |
void |
setEmacsMode(boolean emacsMode)
. |
void |
setErrorPrintStream(java.io.PrintStream err)
|
void |
setFilterSet(LogFilterSet o)
|
void |
setMessageOutputLevel(int level)
. |
void |
setOutputPrintStream(java.io.PrintStream output)
|
void |
setProject(org.apache.tools.ant.Project project)
Set the project associated with this recorder entry. |
void |
setRecordState(boolean state)
Turns off or on this recorder. |
void |
setRegexp(java.lang.String regexp)
|
void |
subBuildFinished(org.apache.tools.ant.BuildEvent event)
Cleans up any resources held by this recorder entry at the end of a subbuild if it has been created for the subbuild's project instance. |
void |
subBuildStarted(org.apache.tools.ant.BuildEvent event)
Empty implementation to satisfy the BuildListener interface. |
void |
targetFinished(org.apache.tools.ant.BuildEvent event)
. |
void |
targetStarted(org.apache.tools.ant.BuildEvent event)
. |
void |
taskFinished(org.apache.tools.ant.BuildEvent event)
. |
void |
taskStarted(org.apache.tools.ant.BuildEvent event)
. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected TextLogRecorderEntry(java.lang.String name)
name - The name of this recorder (used as the filename).| Method Detail |
|---|
public java.lang.String getFilename()
public void setRecordState(boolean state)
state - true for on, false for off, null for no change.public void setRegexp(java.lang.String regexp)
public void setFilterSet(LogFilterSet o)
public void buildStarted(org.apache.tools.ant.BuildEvent event)
buildStarted in interface org.apache.tools.ant.BuildListenerpublic void buildFinished(org.apache.tools.ant.BuildEvent event)
buildFinished in interface org.apache.tools.ant.BuildListenerpublic void subBuildFinished(org.apache.tools.ant.BuildEvent event)
subBuildFinished in interface org.apache.tools.ant.SubBuildListenerevent - the buildFinished eventpublic void subBuildStarted(org.apache.tools.ant.BuildEvent event)
subBuildStarted in interface org.apache.tools.ant.SubBuildListenerevent - the buildStarted eventpublic void targetStarted(org.apache.tools.ant.BuildEvent event)
targetStarted in interface org.apache.tools.ant.BuildListenerpublic void targetFinished(org.apache.tools.ant.BuildEvent event)
targetFinished in interface org.apache.tools.ant.BuildListenerpublic void taskStarted(org.apache.tools.ant.BuildEvent event)
taskStarted in interface org.apache.tools.ant.BuildListenerpublic void taskFinished(org.apache.tools.ant.BuildEvent event)
taskFinished in interface org.apache.tools.ant.BuildListenerpublic void messageLogged(org.apache.tools.ant.BuildEvent event)
messageLogged in interface org.apache.tools.ant.BuildListenerpublic void setMessageOutputLevel(int level)
public void setOutputPrintStream(java.io.PrintStream output)
output - Output print streampublic void setEmacsMode(boolean emacsMode)
public void setErrorPrintStream(java.io.PrintStream err)
err - Error print streampublic void setProject(org.apache.tools.ant.Project project)
project - the project instancepublic void cleanup()
public void openFile(boolean append)
append - Indicates if output must be appended to the logfile or that
the logfile should be overwritten.
org.apache.tools.ant.BuildExceptionpublic void closeFile()
public void reopenFile()
org.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||