com.atlassian.bamboo.plugins.maven.dependencies
Class MavenDependenciesServerPostProcessor

java.lang.Object
  extended by com.atlassian.bamboo.plugins.maven.dependencies.MavenDependenciesServerPostProcessor
All Implemented Interfaces:
CustomBuildProcessorServer, BambooPluginModule, BuildTask, java.util.concurrent.Callable<BuildContext>

public class MavenDependenciesServerPostProcessor
extends java.lang.Object
implements CustomBuildProcessorServer

Updates plan particles after a build if the maven dependencies processor was used.

Since:
v3.3

Constructor Summary
MavenDependenciesServerPostProcessor(com.atlassian.bandana.BandanaManager bandanaManager, PlanParticleManager planParticleManager, ErrorHandler errorHandler)
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void init(BuildContext buildContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MavenDependenciesServerPostProcessor

public MavenDependenciesServerPostProcessor(com.atlassian.bandana.BandanaManager bandanaManager,
                                            PlanParticleManager planParticleManager,
                                            ErrorHandler errorHandler)
Method Detail

init

public void init(@NotNull
                 BuildContext buildContext)
Specified by:
init in interface BuildTask

call

@NotNull
public BuildContext call()
                  throws java.lang.InterruptedException,
                         java.lang.Exception
Description copied from interface: BuildTask

Execute the build task.

Implementations should regularly check if the calling Thread has been interrupted.

Specified by:
call in interface BuildTask
Specified by:
call in interface java.util.concurrent.Callable<BuildContext>
Throws:
java.lang.InterruptedException - if the calling Thread has been interrupted.
java.lang.Exception - A general exception that will be handled.


Copyright © 2012 Atlassian. All Rights Reserved.