com.atlassian.bamboo.builder.maven
Class IsolatedLocalRepositoryCleanupAction

java.lang.Object
  extended by com.atlassian.bamboo.builder.maven.IsolatedLocalRepositoryCleanupAction
All Implemented Interfaces:
CustomBuildProcessor, BambooPluginModule, AgentBuildTask, BuildTask, java.util.concurrent.Callable<BuildContext>

public class IsolatedLocalRepositoryCleanupAction
extends java.lang.Object
implements CustomBuildProcessor

Deletes the temporary maven repository when AbstractMavenBuilder.isForceRepositoryIsolation() is true


Constructor Summary
IsolatedLocalRepositoryCleanupAction()
           
 
Method Summary
 BuildContext call()
          Execute the build task.
 void init(BuildContext buildContext)
           
 void setAgentContext(AgentContext agentContext)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsolatedLocalRepositoryCleanupAction

public IsolatedLocalRepositoryCleanupAction()
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.

setAgentContext

public void setAgentContext(AgentContext agentContext)


Copyright © 2011 Atlassian. All Rights Reserved.