Package org.glassfish.build.utils
Class ZipHelper.AntBuildListener
java.lang.Object
org.glassfish.build.utils.ZipHelper.AntBuildListener
- All Implemented Interfaces:
EventListener
,org.apache.tools.ant.BuildListener
- Enclosing class:
ZipHelper
private static final class ZipHelper.AntBuildListener
extends Object
implements org.apache.tools.ant.BuildListener
BuilderListener
implementation to log Ant events.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final org.apache.maven.plugin.logging.Log
Maven logger.private static final int
Maximum Event priority that is logged. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
AntBuildListener
(org.apache.maven.plugin.logging.Log mavenLog) Create a newAntBuildListener
instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
buildFinished
(org.apache.tools.ant.BuildEvent event) void
buildStarted
(org.apache.tools.ant.BuildEvent event) void
messageLogged
(org.apache.tools.ant.BuildEvent event) 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)
-
Field Details
-
MAX_EVENT_PRIORITY
private static final int MAX_EVENT_PRIORITYMaximum Event priority that is logged.- See Also:
-
log
private final org.apache.maven.plugin.logging.Log logMaven logger.
-
-
Constructor Details
-
AntBuildListener
private AntBuildListener(org.apache.maven.plugin.logging.Log mavenLog) Create a newAntBuildListener
instance.- Parameters:
mavenLog
- Maven logger
-
-
Method Details
-
buildStarted
public void buildStarted(org.apache.tools.ant.BuildEvent event) - Specified by:
buildStarted
in interfaceorg.apache.tools.ant.BuildListener
-
buildFinished
public void buildFinished(org.apache.tools.ant.BuildEvent event) - Specified by:
buildFinished
in interfaceorg.apache.tools.ant.BuildListener
-
targetStarted
public void targetStarted(org.apache.tools.ant.BuildEvent event) - Specified by:
targetStarted
in interfaceorg.apache.tools.ant.BuildListener
-
targetFinished
public void targetFinished(org.apache.tools.ant.BuildEvent event) - Specified by:
targetFinished
in interfaceorg.apache.tools.ant.BuildListener
-
taskStarted
public void taskStarted(org.apache.tools.ant.BuildEvent event) - Specified by:
taskStarted
in interfaceorg.apache.tools.ant.BuildListener
-
taskFinished
public void taskFinished(org.apache.tools.ant.BuildEvent event) - Specified by:
taskFinished
in interfaceorg.apache.tools.ant.BuildListener
-
messageLogged
public void messageLogged(org.apache.tools.ant.BuildEvent event) - Specified by:
messageLogged
in interfaceorg.apache.tools.ant.BuildListener
-