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:
TaskConfigurator, TaskRequirementSupport

public class BuilderCompatibilityTaskConfigurator
extends AbstractTaskConfigurator
implements TaskConfigurator, TaskRequirementSupport


Field Summary
 
Fields inherited from class com.atlassian.bamboo.task.AbstractTaskConfigurator
taskConfiguratorHelper
 
Constructor Summary
BuilderCompatibilityTaskConfigurator()
           
 
Method Summary
 java.util.Set<Requirement> calculateRequirements(TaskDefinition taskDefinition)
          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, populateContextForEdit, populateContextForView, 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)
Description copied from interface: TaskRequirementSupport
Populates the RequirementSet needed based off of the TaskDefinition

Specified by:
calculateRequirements in interface TaskRequirementSupport
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.