com.atlassian.bamboo.plugins.maven.dependencies.configuration
Class MavenDependenciesProcessorTaskConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.task.AbstractTaskConfigurator
      extended by com.atlassian.bamboo.plugins.maven.dependencies.configuration.MavenDependenciesProcessorTaskConfigurator
All Implemented Interfaces:
TaskConfigurator

public class MavenDependenciesProcessorTaskConfigurator
extends AbstractTaskConfigurator


Field Summary
static java.util.List<java.lang.String> DEFAULT_BUILDER_CONFIGURATION_KEYS
           
 
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
bambooAuthenticationContext, taskConfiguratorHelper
 
Constructor Summary
MavenDependenciesProcessorTaskConfigurator()
           
 
Method Summary
 java.util.Map<java.lang.String,java.lang.String> generateTaskConfigMap(ActionParametersMap params, TaskDefinition previousTaskDefinition)
          Convert the params from the ui into a config map to be stored in the database for the taskDefinition.
 void populateContextForEdit(java.util.Map<java.lang.String,java.lang.Object> context, TaskDefinition taskDefinition)
          Provide any required context to be used when rendering the freemarker template for view editing a task definition
 void populateContextForView(java.util.Map<java.lang.String,java.lang.Object> context, TaskDefinition taskDefinition)
          Provide any required context to be used when rendering the freemarker template for viewing a task definition
 
Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
calculateRequirements, calculateRequirements, getI18nBean, populateContextForCreate, setAuthenticationContext, setTaskConfiguratorHelper, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BUILDER_CONFIGURATION_KEYS

public static final java.util.List<java.lang.String> DEFAULT_BUILDER_CONFIGURATION_KEYS
Constructor Detail

MavenDependenciesProcessorTaskConfigurator

public MavenDependenciesProcessorTaskConfigurator()
Method Detail

generateTaskConfigMap

@NotNull
public java.util.Map<java.lang.String,java.lang.String> generateTaskConfigMap(@NotNull
                                                                                      ActionParametersMap params,
                                                                                      @Nullable
                                                                                      TaskDefinition previousTaskDefinition)
Description copied from interface: TaskConfigurator
Convert the params from the ui into a config map to be stored in the database for the taskDefinition. Can assume validation has occured in the #validate method

Specified by:
generateTaskConfigMap in interface TaskConfigurator
Overrides:
generateTaskConfigMap in class AbstractTaskConfigurator
Parameters:
params - - request paramaters
previousTaskDefinition - - the previous immutable TaskDefinition before saving or null if Task is being created
Returns:
the configuration map to be stored in the database

populateContextForEdit

public void populateContextForEdit(@NotNull
                                   java.util.Map<java.lang.String,java.lang.Object> context,
                                   @NotNull
                                   TaskDefinition taskDefinition)
Description copied from interface: TaskConfigurator
Provide any required context to be used when rendering the freemarker template for view editing a task definition

Specified by:
populateContextForEdit in interface TaskConfigurator
Overrides:
populateContextForEdit in class AbstractTaskConfigurator
Parameters:
context - map to put your context in.
taskDefinition - existing task definition

populateContextForView

public void populateContextForView(@NotNull
                                   java.util.Map<java.lang.String,java.lang.Object> context,
                                   @NotNull
                                   TaskDefinition taskDefinition)
Description copied from interface: TaskConfigurator
Provide any required context to be used when rendering the freemarker template for viewing a task definition

Specified by:
populateContextForView in interface TaskConfigurator
Overrides:
populateContextForView in class AbstractTaskConfigurator
Parameters:
context - map to put your context in.
taskDefinition - existing task definition


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.