com.atlassian.bamboo.builder.maven
Class IsolatedLocalRepositoryMavenCommandDecorator<T extends AbstractMavenBuilder>

java.lang.Object
  extended by com.atlassian.bamboo.command.AbstractCommandDecorator<T>
      extended by com.atlassian.bamboo.builder.maven.IsolatedLocalRepositoryMavenCommandDecorator<T>
All Implemented Interfaces:
CommandDecorator, BambooPluginModule
Direct Known Subclasses:
IsolatedLocalRepositoryMaven2CommandDecorator, IsolatedLocalRepositoryMaven3CommandDecorator

Deprecated.

@Deprecated
public abstract class IsolatedLocalRepositoryMavenCommandDecorator<T extends AbstractMavenBuilder>
extends AbstractCommandDecorator<T>


Constructor Summary
protected IsolatedLocalRepositoryMavenCommandDecorator(java.lang.Class<T> commandClass)
          Deprecated.  
 
Method Summary
static
<T extends AbstractMavenBuilder>
java.lang.String
buildLocalRepositoryPath(T builder, ExecutableBuildAgent buildAgent)
          Deprecated.  
static
<T extends AbstractMavenBuilder>
java.lang.String
buildTemporaryLocalRepositoryPath(T builder, ExecutableBuildAgent buildAgent)
          Deprecated.  
 boolean canDecorate(Command command)
          Deprecated. Given a command, determine whether or not it can be decorated.
 java.util.List<java.lang.String> decorateArguments(java.util.List<java.lang.String> args)
          Deprecated. Given a list of command line arguments, return a possibly new list of arguments.
 void setAgentContext(AgentContext agentContext)
          Deprecated.  
 void setCapabilityConfigurationManager(CapabilityConfigurationManager capabilityConfigurationManager)
          Deprecated.  
 
Methods inherited from class com.atlassian.bamboo.command.AbstractCommandDecorator
addArgument, getBuildContext, getCommand, init, quoteArgument
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IsolatedLocalRepositoryMavenCommandDecorator

protected IsolatedLocalRepositoryMavenCommandDecorator(java.lang.Class<T> commandClass)
Deprecated. 
Method Detail

canDecorate

public boolean canDecorate(Command command)
Deprecated. 
Description copied from interface: CommandDecorator
Given a command, determine whether or not it can be decorated. If this method returns false, then the decorateArguments method will not get called.

Specified by:
canDecorate in interface CommandDecorator
Overrides:
canDecorate in class AbstractCommandDecorator<T extends AbstractMavenBuilder>
Parameters:
command - the command that will be decorated
Returns:
true if the command can be decorated by this Decorator. false otherwise.

decorateArguments

@NotNull
public java.util.List<java.lang.String> decorateArguments(@NotNull
                                                                  java.util.List<java.lang.String> args)
Deprecated. 
Description copied from interface: CommandDecorator
Given a list of command line arguments, return a possibly new list of arguments. The returned list will be used for building. This method will only be invoked if the CommandDecorator.canDecorate(com.atlassian.bamboo.command.Command) method returns true.

Parameters:
args - the original list of command line arguments configured in the Builder configuration
Returns:
a possibly modified list of arguments to use for building

buildLocalRepositoryPath

@NotNull
public static <T extends AbstractMavenBuilder> java.lang.String buildLocalRepositoryPath(@NotNull
                                                                                                 T builder,
                                                                                                 @NotNull
                                                                                                 ExecutableBuildAgent buildAgent)
Deprecated. 

buildTemporaryLocalRepositoryPath

@NotNull
public static <T extends AbstractMavenBuilder> java.lang.String buildTemporaryLocalRepositoryPath(@NotNull
                                                                                                          T builder,
                                                                                                          @NotNull
                                                                                                          ExecutableBuildAgent buildAgent)
Deprecated. 

setAgentContext

public void setAgentContext(AgentContext agentContext)
Deprecated. 

setCapabilityConfigurationManager

public void setCapabilityConfigurationManager(CapabilityConfigurationManager capabilityConfigurationManager)
Deprecated. 


Copyright © 2011 Atlassian. All Rights Reserved.