com.atlassian.bamboo.task
Interface TaskRequirementSupport

All Superinterfaces:
TaskConfigurator
All Known Implementing Classes:
AbstractMavenBuildTaskConfigurator, AbstractShellCommandTaskConfigurator, AntBuildTaskConfigurator, BuilderCompatibilityTaskConfigurator, CommandBuildTaskConfigurator, GrailsTaskConfigurator, Maven1BuildTaskConfigurator, Maven2BuildTaskConfigurator, Maven3BuildTaskConfigurator, PhpUnitBuildTaskConfigurator, ScriptBuildTaskConfigurator

public interface TaskRequirementSupport
extends TaskConfigurator

Allows creators of TaskTypes to specify Requirements

Since:
3.1

Method Summary
 java.util.Set<Requirement> calculateRequirements(TaskDefinition taskDefinition)
          Populates the RequirementSet needed based off of the TaskDefinition
 
Methods inherited from interface com.atlassian.bamboo.task.TaskConfigurator
generateTaskConfigMap, populateContextForCreate, populateContextForEdit, populateContextForView, validate
 

Method Detail

calculateRequirements

@NotNull
java.util.Set<Requirement> calculateRequirements(@NotNull
                                                         TaskDefinition taskDefinition)
Populates the RequirementSet needed based off of the TaskDefinition

Parameters:
taskDefinition -
Returns:
requirements


Copyright © 2011 Atlassian. All Rights Reserved.