|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.task.TaskManagerImpl
public class TaskManagerImpl
Constructor Summary | |
---|---|
TaskManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor,
CapabilitySetManager capabilitySetManager,
ElasticAccountBean elasticAccountBean)
|
Method Summary | |
---|---|
void |
calculateRequirementsForTaskDefinition(Buildable buildable,
TaskDefinition taskDefinition)
Attempts to add Requirement s to the specified Buildable if the TaskConfigurator is an implementor of TaskRequirementSupport
If requirements are already present for the specified TaskDefinition they will be removed and recalculated |
java.util.List<TaskModuleDescriptor> |
getAvailableTaskDescriptors()
|
java.util.Map<java.lang.String,java.lang.String> |
getExecutableLabelTypeMap()
Returns a map of currently available "configured" executables - uniquely identified by a label. |
TaskModuleDescriptor |
getTaskDescriptor(java.lang.String pluginKey)
Get the task type descriptor matching a particular plugin key. |
java.util.Collection<Requirement> |
getTasksRequirements(Buildable buildable)
Return Requirement s for all tasks of Buildable if the TaskConfigurator is an implementor of TaskRequirementSupport |
void |
removeRequirementsForTaskDefinition(Buildable buildable,
TaskDefinition taskDefinition)
Removes all the Requirement s that belong to the TaskDefinition |
boolean |
taskProducesTestResults(TaskDefinition taskDefinition)
Return true iff task defined in TaskDefinition is configured to produce test results. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TaskManagerImpl(com.atlassian.plugin.PluginAccessor pluginAccessor, CapabilitySetManager capabilitySetManager, ElasticAccountBean elasticAccountBean)
Method Detail |
---|
@Nullable public TaskModuleDescriptor getTaskDescriptor(@Nullable java.lang.String pluginKey)
TaskManager
getTaskDescriptor
in interface TaskManager
pluginKey
- - key to match
@NotNull public java.util.List<TaskModuleDescriptor> getAvailableTaskDescriptors()
getAvailableTaskDescriptors
in interface TaskManager
public void calculateRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
TaskManager
Requirement
s to the specified Buildable
if the TaskConfigurator
is an implementor of TaskRequirementSupport
If requirements are already present for the specified TaskDefinition
they will be removed and recalculated
calculateRequirementsForTaskDefinition
in interface TaskManager
public void removeRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
TaskManager
Requirement
s that belong to the TaskDefinition
removeRequirementsForTaskDefinition
in interface TaskManager
@NotNull public java.util.Collection<Requirement> getTasksRequirements(@NotNull Buildable buildable)
TaskManager
Requirement
s for all tasks of Buildable
if the TaskConfigurator
is an implementor of TaskRequirementSupport
getTasksRequirements
in interface TaskManager
public boolean taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
TaskManager
TaskDefinition
is configured to produce test results.
taskProducesTestResults
in interface TaskManager
public java.util.Map<java.lang.String,java.lang.String> getExecutableLabelTypeMap()
TaskManager
getExecutableLabelTypeMap
in interface TaskManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |