org.hudsonci.maven.eventspy.common
Interface Callback


public interface Callback

Provides the interface for invoking call backs from remote EventSpy to MavenBuilder.

Since:
2.1.0
Author:
Jason Dillon

Method Summary
 void addArtifacts(Collection<ArtifactDTO> artifacts)
           
 void close()
          Called to signal the end of processing.
 DocumentReference getGlobalSettingsDocument()
           
 File getMavenContextDirectory()
          A reference to the .maven directory for the executing build.
 DocumentReference getSettingsDocument()
           
 DocumentReference getToolChainsDocument()
           
 boolean isAborted()
          Returns true if the build should be aborted.
 void setArtifacts(Collection<ArtifactDTO> artifacts)
           
 void setParticipatingProjects(List<MavenProjectDTO> projects)
          Prefer them to be sorted in topological order because we don't order them.
 void setRuntimeEnvironment(RuntimeEnvironmentDTO env)
          Called after the spy has finished initializing and has established communication.
 void updateParticipatingProject(MavenProjectDTO project)
           
 

Method Detail

getMavenContextDirectory

File getMavenContextDirectory()
A reference to the .maven directory for the executing build.


isAborted

boolean isAborted()
Returns true if the build should be aborted.


close

void close()
Called to signal the end of processing.


setRuntimeEnvironment

void setRuntimeEnvironment(RuntimeEnvironmentDTO env)
Called after the spy has finished initializing and has established communication.


setParticipatingProjects

void setParticipatingProjects(List<MavenProjectDTO> projects)
Prefer them to be sorted in topological order because we don't order them.


updateParticipatingProject

void updateParticipatingProject(MavenProjectDTO project)

setArtifacts

void setArtifacts(Collection<ArtifactDTO> artifacts)

addArtifacts

void addArtifacts(Collection<ArtifactDTO> artifacts)

getSettingsDocument

DocumentReference getSettingsDocument()

getGlobalSettingsDocument

DocumentReference getGlobalSettingsDocument()

getToolChainsDocument

DocumentReference getToolChainsDocument()


Copyright © 2004-2011 Hudson. All Rights Reserved.