org.jfrog.build.extractor.listener
Class ArtifactoryBuildListener
java.lang.Object
org.jfrog.build.extractor.listener.ArtifactoryBuildListener
- All Implemented Interfaces:
- java.util.EventListener, org.apache.tools.ant.BuildListener
public class ArtifactoryBuildListener
- extends java.lang.Object
- implements org.apache.tools.ant.BuildListener
A listener which listens to the Ant builds, and is invoking different events during the build of Ant
itself! This is not to be confused with Ivy Trigger which is called during Ivy related events
|
Method Summary |
void |
buildFinished(org.apache.tools.ant.BuildEvent event)
Called when the build has ended, this is the time where we will assemble the build-info object that its
information was collected by the ArtifactoryBuildInfoTrigger it will
serialize the build-info object into a senadble JSON object to be used by the ArtifactoryBuildInfoClient |
void |
buildStarted(org.apache.tools.ant.BuildEvent event)
|
protected void |
configConnectionTimeout(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient client)
|
protected void |
configureProxy(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient client)
|
IvyBuildInfoLog |
getBuildInfoLog(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)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArtifactoryBuildListener
public ArtifactoryBuildListener()
getBuildInfoLog
public IvyBuildInfoLog getBuildInfoLog(org.apache.tools.ant.BuildEvent event)
buildStarted
public void buildStarted(org.apache.tools.ant.BuildEvent event)
- Specified by:
buildStarted in interface org.apache.tools.ant.BuildListener
buildFinished
public void buildFinished(org.apache.tools.ant.BuildEvent event)
- Called when the build has ended, this is the time where we will assemble the build-info object that its
information was collected by the
ArtifactoryBuildInfoTrigger it will
serialize the build-info object into a senadble JSON object to be used by the ArtifactoryBuildInfoClient
- Specified by:
buildFinished in interface org.apache.tools.ant.BuildListener
- Parameters:
event - The build event.
taskStarted
public void taskStarted(org.apache.tools.ant.BuildEvent event)
- Specified by:
taskStarted in interface org.apache.tools.ant.BuildListener
taskFinished
public void taskFinished(org.apache.tools.ant.BuildEvent event)
- Specified by:
taskFinished in interface org.apache.tools.ant.BuildListener
targetStarted
public void targetStarted(org.apache.tools.ant.BuildEvent event)
- Specified by:
targetStarted in interface org.apache.tools.ant.BuildListener
targetFinished
public void targetFinished(org.apache.tools.ant.BuildEvent event)
- Specified by:
targetFinished in interface org.apache.tools.ant.BuildListener
messageLogged
public void messageLogged(org.apache.tools.ant.BuildEvent event)
- Specified by:
messageLogged in interface org.apache.tools.ant.BuildListener
configureProxy
protected void configureProxy(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient client)
configConnectionTimeout
protected void configConnectionTimeout(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.ArtifactoryBuildInfoClient client)