Package org.eclipse.m2m.atl.emftvm.ant
Class EMFTVMBuildListener
java.lang.Object
org.eclipse.m2m.atl.emftvm.ant.EMFTVMBuildListener
- All Implemented Interfaces:
EventListener,org.apache.tools.ant.BuildListener
Ant build change listener for EMFTVM tasks.
-
Constructor Summary
ConstructorsConstructorDescriptionEMFTVMBuildListener(org.apache.tools.ant.Project project) Creates a newEMFTVMBuildListener. -
Method Summary
Modifier and TypeMethodDescriptionstatic 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.Returns the log handler.org.apache.tools.ant.ProjectReturns 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 Details
-
EMFTVMBuildListener
public EMFTVMBuildListener(org.apache.tools.ant.Project project) Creates a newEMFTVMBuildListener.- Parameters:
project- the Ant project
-
-
Method Details
-
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
Returns the log handler.- Returns:
- the logHandler
-