Class ExecutorCalculator
- java.lang.Object
-
- com.atlassian.bamboo.v2.build.queue.ExecutorCalculator
-
public class ExecutorCalculator extends Object
-
-
Constructor Summary
Constructors Constructor Description ExecutorCalculator()
-
Method Summary
-
-
-
Method Detail
-
calculateExecutors
@NotNull public @NotNull Collection<BuildAgent> calculateExecutors(@NotNull @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata)
-
calculateExecutors
@NotNull public @NotNull Collection<BuildAgent> calculateExecutors(@NotNull @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata, @NotNull @NotNull Collection<ElasticImageConfiguration> executableImages, @NotNull @NotNull Collection<EphemeralAgentTemplate> executableTemplates)
-
getRequirementSet
@Nullable public @Nullable RequirementSet getRequirementSet(CommonContext context)
-
canExecute
public boolean canExecute(@NotNull @NotNull BuildAgent agent, @NotNull @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata)
-
getExecutableImages
public Collection<ElasticImageConfiguration> getExecutableImages(CommonContextMap.ContextWithMetadata contextWithMetadata)
-
getExecutableEphemeralAgentTemplates
public Collection<EphemeralAgentTemplate> getExecutableEphemeralAgentTemplates(@NotNull @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata)
-
isTemplateApplicableForQuery
public boolean isTemplateApplicableForQuery(@NotNull @NotNull CommonContextMap.ContextWithMetadata contextWithMetadata, @NotNull @NotNull EphemeralAgentTemplate ephemeralAgentTemplate)
-
-