|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TaskManager
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. |
Method Detail |
---|
@NotNull java.util.List<TaskModuleDescriptor> getAvailableTaskDescriptors()
@Nullable TaskModuleDescriptor getTaskDescriptor(@Nullable java.lang.String pluginKey)
pluginKey
- - key to match
void calculateRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
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
buildable
- taskDefinition
- void removeRequirementsForTaskDefinition(@NotNull Buildable buildable, @NotNull TaskDefinition taskDefinition)
Requirement
s that belong to the TaskDefinition
buildable
- taskDefinition
- @NotNull java.util.Collection<Requirement> getTasksRequirements(@NotNull Buildable buildable)
Requirement
s for all tasks of Buildable
if the TaskConfigurator
is an implementor of TaskRequirementSupport
buildable
-
java.lang.IllegalStateException
boolean taskProducesTestResults(@NotNull TaskDefinition taskDefinition)
TaskDefinition
is configured to produce test results.
taskDefinition
-
java.util.Map<java.lang.String,java.lang.String> getExecutableLabelTypeMap()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |