com.atlassian.bamboo.tasks.compatibility
Class BuilderCompatibilityTaskConfigurator

java.lang.Object
  extended by com.atlassian.bamboo.task.AbstractTaskConfigurator
      extended by com.atlassian.bamboo.tasks.compatibility.BuilderCompatibilityTaskConfigurator
All Implemented Interfaces:
BuildTaskRequirementSupport, TaskConfigurator

public class BuilderCompatibilityTaskConfigurator
extends AbstractTaskConfigurator
implements TaskConfigurator, BuildTaskRequirementSupport


Field Summary
 
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
bambooAuthenticationContext, taskConfiguratorHelper
 
Constructor Summary
BuilderCompatibilityTaskConfigurator()
           
 
Method Summary
 java.util.Set<Requirement> calculateRequirements(TaskDefinition taskDefinition, Buildable buildable)
          Populates the RequirementSet needed based off of the TaskDefinition
 void populateContextForCreate(java.util.Map<java.lang.String,java.lang.Object> context)
          Provide any required context to be used when rendering the freemarker template for creating a task definition.
 
Methods inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
generateTaskConfigMap, getI18nBean, populateContextForEdit, populateContextForView, setAuthenticationContext, setTaskConfiguratorHelper, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.task.TaskConfigurator
generateTaskConfigMap, populateContextForEdit, populateContextForView, validate
 

Constructor Detail

BuilderCompatibilityTaskConfigurator

public BuilderCompatibilityTaskConfigurator()
Method Detail

calculateRequirements

@NotNull
public java.util.Set<Requirement> calculateRequirements(@NotNull
                                                                TaskDefinition taskDefinition,
                                                                @NotNull
                                                                Buildable buildable)
Description copied from interface: BuildTaskRequirementSupport
Populates the RequirementSet needed based off of the TaskDefinition

Specified by:
calculateRequirements in interface BuildTaskRequirementSupport
Returns:
requirements

populateContextForCreate

public void populateContextForCreate(@NotNull
                                     java.util.Map<java.lang.String,java.lang.Object> context)
Description copied from interface: TaskConfigurator
Provide any required context to be used when rendering the freemarker template for creating a task definition. Allows you to add any default values for initial creation

Specified by:
populateContextForCreate in interface TaskConfigurator
Overrides:
populateContextForCreate in class AbstractTaskConfigurator
Parameters:
context - map to put your context in.


Copyright © 2011 Atlassian. All Rights Reserved.