org.hudsonci.maven.plugin.builder.internal
Class CallbackImpl

java.lang.Object
  extended by org.hudsonci.maven.plugin.builder.internal.CallbackImpl
All Implemented Interfaces:
Callback

public class CallbackImpl
extends Object
implements Callback

Default implementation of Callback.

Since:
2.1.0
Author:
Jason Dillon, Jamie Whitehouse

Constructor Summary
CallbackImpl(BuildStateDTO buildState)
           
CallbackImpl(MavenBuilder owner, BuildStateDTO state, AbstractBuild<?,?> build)
           
 
Method Summary
 void addArtifacts(Collection<ArtifactDTO> artifacts)
           
 void close()
           
 DocumentReference getGlobalSettingsDocument()
           
 File getMavenContextDirectory()
           
 DocumentReference getSettingsDocument()
           
 DocumentReference getToolChainsDocument()
           
 boolean isAborted()
           
 void setArtifacts(Collection<ArtifactDTO> artifacts)
           
 void setParticipatingProjects(List<MavenProjectDTO> projects)
           
 void setRuntimeEnvironment(RuntimeEnvironmentDTO env)
           
 void updateParticipatingProject(MavenProjectDTO project)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallbackImpl

public CallbackImpl(MavenBuilder owner,
                    BuildStateDTO state,
                    AbstractBuild<?,?> build)

CallbackImpl

@TestAccessible
public CallbackImpl(BuildStateDTO buildState)
Method Detail

getMavenContextDirectory

public File getMavenContextDirectory()
Specified by:
getMavenContextDirectory in interface Callback

isAborted

public boolean isAborted()
Specified by:
isAborted in interface Callback

close

public void close()
Specified by:
close in interface Callback

setRuntimeEnvironment

public void setRuntimeEnvironment(RuntimeEnvironmentDTO env)
Specified by:
setRuntimeEnvironment in interface Callback

setParticipatingProjects

public void setParticipatingProjects(List<MavenProjectDTO> projects)
Specified by:
setParticipatingProjects in interface Callback

updateParticipatingProject

public void updateParticipatingProject(MavenProjectDTO project)
Specified by:
updateParticipatingProject in interface Callback

setArtifacts

public void setArtifacts(Collection<ArtifactDTO> artifacts)
Specified by:
setArtifacts in interface Callback

addArtifacts

public void addArtifacts(Collection<ArtifactDTO> artifacts)
Specified by:
addArtifacts in interface Callback

getSettingsDocument

public DocumentReference getSettingsDocument()
Specified by:
getSettingsDocument in interface Callback

getGlobalSettingsDocument

public DocumentReference getGlobalSettingsDocument()
Specified by:
getGlobalSettingsDocument in interface Callback

getToolChainsDocument

public DocumentReference getToolChainsDocument()
Specified by:
getToolChainsDocument in interface Callback


Copyright © 2004-2011 Hudson. All Rights Reserved.