Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
java.lang.Object
org.apache.tools.ant.taskdefs.RecorderEntry
Constructor Summary | |
|
Method Summary | |
void |
|
void |
|
void |
|
String | |
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
protected RecorderEntry(String name)
- Parameters:
name
- The name of this recorder (used as the filename).
public void buildFinished(BuildEvent event)
.
- Specified by:
- buildFinished in interface BuildListener
public void buildStarted(BuildEvent event)
.
- Specified by:
- buildStarted in interface BuildListener
public void cleanup()
- Since:
- 1.6.2
public String getFilename()
- Returns:
- the name of the file the output is sent to.
public void messageLogged(BuildEvent event)
.
- Specified by:
- messageLogged in interface BuildListener
public void setEmacsMode(boolean emacsMode)
.
- Specified by:
- setEmacsMode in interface BuildLogger
public void setErrorPrintStream(PrintStream err)
.
- Specified by:
- setErrorPrintStream in interface BuildLogger
public void setMessageOutputLevel(int level)
.
- Specified by:
- setMessageOutputLevel in interface BuildLogger
public void setOutputPrintStream(PrintStream output)
.
- Specified by:
- setOutputPrintStream in interface BuildLogger
public void setProject(Project project)
Set the project associated with this recorder entry.
- Parameters:
project
- the project instance
- Since:
- 1.6.2
public void setRecordState(Boolean state)
Turns off or on this recorder.
- Parameters:
state
- true for on, false for off, null for no change.
public void subBuildFinished(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.
- Specified by:
- subBuildFinished in interface SubBuildListener
- Parameters:
event
- the buildFinished event
- Since:
- Ant 1.6.2
public void subBuildStarted(BuildEvent event)
Empty implementation to satisfy the BuildListener interface.
- Specified by:
- subBuildStarted in interface SubBuildListener
- Parameters:
event
- the buildStarted event
- Since:
- Ant 1.6.2
public void targetFinished(BuildEvent event)
.
- Specified by:
- targetFinished in interface BuildListener
public void targetStarted(BuildEvent event)
.
- Specified by:
- targetStarted in interface BuildListener
public void taskFinished(BuildEvent event)
.
- Specified by:
- taskFinished in interface BuildListener
public void taskStarted(BuildEvent event)
.
- Specified by:
- taskStarted in interface BuildListener