Package org.eclipse.m2m.atl.emftvm.ant
Class EMFTVMBuildListener
- java.lang.Object
-
- org.eclipse.m2m.atl.emftvm.ant.EMFTVMBuildListener
-
- All Implemented Interfaces:
java.util.EventListener,org.apache.tools.ant.BuildListener
public class EMFTVMBuildListener extends java.lang.Object implements org.apache.tools.ant.BuildListenerAnt build change listener for EMFTVM tasks.
-
-
Constructor Summary
Constructors Constructor Description EMFTVMBuildListener(org.apache.tools.ant.Project project)Creates a newEMFTVMBuildListener.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static voidattachBuildListener(org.apache.tools.ant.Project project)Attach the log to a given project if necessary.voidbuildFinished(org.apache.tools.ant.BuildEvent event)Removes the log handler from the logger.voidbuildStarted(org.apache.tools.ant.BuildEvent event)Does nothing.java.util.logging.HandlergetLogHandler()Returns the log handler.org.apache.tools.ant.ProjectgetProject()Returns the Ant project.voidmessageLogged(org.apache.tools.ant.BuildEvent event)Does nothing.voidtargetFinished(org.apache.tools.ant.BuildEvent event)Does nothing.voidtargetStarted(org.apache.tools.ant.BuildEvent event)Does nothing.voidtaskFinished(org.apache.tools.ant.BuildEvent event)Does nothing.voidtaskStarted(org.apache.tools.ant.BuildEvent event)Does nothing.
-
-
-
Constructor Detail
-
EMFTVMBuildListener
public EMFTVMBuildListener(org.apache.tools.ant.Project project)
Creates a newEMFTVMBuildListener.- Parameters:
project- the Ant project
-
-
Method Detail
-
attachBuildListener
public static void attachBuildListener(org.apache.tools.ant.Project project)
Attach the log to a given project if necessary.- Parameters:
project- the current project
-
buildFinished
public void buildFinished(org.apache.tools.ant.BuildEvent event)
Removes the log handler from the logger.- Specified by:
buildFinishedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the build finished event
-
buildStarted
public void buildStarted(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
buildStartedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the build started event
-
messageLogged
public void messageLogged(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
messageLoggedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the message logged event
-
targetFinished
public void targetFinished(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
targetFinishedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the target finished event
-
targetStarted
public void targetStarted(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
targetStartedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the target started event
-
taskFinished
public void taskFinished(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
taskFinishedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the task finished event
-
taskStarted
public void taskStarted(org.apache.tools.ant.BuildEvent event)
Does nothing.- Specified by:
taskStartedin interfaceorg.apache.tools.ant.BuildListener- Parameters:
event- the task started event
-
getProject
public org.apache.tools.ant.Project getProject()
Returns the Ant project.- Returns:
- the project
-
getLogHandler
public java.util.logging.Handler getLogHandler()
Returns the log handler.- Returns:
- the logHandler
-
-