|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Internal public interface ExecutableAgentsHelper
Utility class to determine which agents can build a Plan
Nested Class Summary | |
---|---|
static class |
ExecutableAgentsHelper.ExecutableQuery
|
static class |
ExecutableAgentsHelper.ExecutorQuery
|
Method Summary | |
---|---|
Collection<BuildAgent> |
getExecutableAgents(ExecutableAgentsHelper.ExecutorQuery executorQuery)
|
ExecutableAgentsMatrix |
getExecutableAgentsMatrix(ExecutableAgentsHelper.ExecutorQuery executorQuery)
|
Collection<ImmutableBuildable> |
getExecutableBuildables(ExecutableAgentsHelper.ExecutableQuery executableQuery)
Collection of buildables for which this agent can execute. |
Collection<ElasticImageConfiguration> |
getExecutableImages(ExecutableAgentsHelper.ExecutorQuery executorQuery)
Calculates the list of elastic images that are capable of running an agent that can build a Buildable plan. |
boolean |
planHasExecutableAgents(PlanKey planKey,
boolean includeDisabled)
Checks if a Buildable can be built on any defined agent. |
boolean |
planHasExecutableAgents(PlanResultKey planResultKey)
Checks if a Buildable can be built on any active agent. |
Method Detail |
---|
boolean planHasExecutableAgents(@NotNull PlanKey planKey, boolean includeDisabled)
planKey
- includeDisabled
- indicate whether disabled agents should be included in checking
IllegalArgumentException
- if planKey is not a Buildable keyboolean planHasExecutableAgents(@NotNull PlanResultKey planResultKey)
planResultKey
-
IllegalArgumentException
- if planResultKey is not a key of running JobCollection<ElasticImageConfiguration> getExecutableImages(@NotNull ExecutableAgentsHelper.ExecutorQuery executorQuery)
Collection<BuildAgent> getExecutableAgents(@NotNull ExecutableAgentsHelper.ExecutorQuery executorQuery)
ExecutableAgentsMatrix getExecutableAgentsMatrix(@NotNull ExecutableAgentsHelper.ExecutorQuery executorQuery)
Collection<ImmutableBuildable> getExecutableBuildables(ExecutableAgentsHelper.ExecutableQuery executableQuery)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |