public class ArtifactoryBuildListener
extends java.lang.Object
implements org.apache.tools.ant.BuildListener
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| Constructor and Description |
|---|
ArtifactoryBuildListener() |
| Modifier and Type | Method and Description |
|---|---|
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 ArtifactoryManager |
void |
buildStarted(org.apache.tools.ant.BuildEvent event) |
protected void |
configConnectionTimeout(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager) |
protected void |
configRetriesParams(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager) |
protected void |
configureProxy(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager) |
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) |
public IvyBuildInfoLog getBuildInfoLog(org.apache.tools.ant.BuildEvent event)
public void buildStarted(org.apache.tools.ant.BuildEvent event)
buildStarted in interface org.apache.tools.ant.BuildListenerpublic void buildFinished(org.apache.tools.ant.BuildEvent event)
ArtifactoryBuildInfoTrigger it will
serialize the build-info object into a senadble JSON object to be used by the ArtifactoryManagerbuildFinished in interface org.apache.tools.ant.BuildListenerevent - The build event.public void taskStarted(org.apache.tools.ant.BuildEvent event)
taskStarted in interface org.apache.tools.ant.BuildListenerpublic void taskFinished(org.apache.tools.ant.BuildEvent event)
taskFinished in interface org.apache.tools.ant.BuildListenerpublic void targetStarted(org.apache.tools.ant.BuildEvent event)
targetStarted in interface org.apache.tools.ant.BuildListenerpublic void targetFinished(org.apache.tools.ant.BuildEvent event)
targetFinished in interface org.apache.tools.ant.BuildListenerpublic void messageLogged(org.apache.tools.ant.BuildEvent event)
messageLogged in interface org.apache.tools.ant.BuildListenerprotected void configureProxy(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager)
protected void configConnectionTimeout(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager)
protected void configRetriesParams(org.jfrog.build.extractor.clientConfiguration.ArtifactoryClientConfiguration clientConf,
org.jfrog.build.extractor.clientConfiguration.client.artifactory.ArtifactoryManager artifactoryManager)