|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PlanExecutableAgentsHelper
Utility class to determine which agents can build a Plan
Method Summary | |
---|---|
java.util.Collection<BuildAgent> |
getExecutableAgentsForPlan(Buildable buildable,
BuildContext buildContext)
Calculates the list of active agents that can build a Buildable plan based on Requirements and criteria defined in plugins. |
java.util.Collection<ElasticImageConfiguration> |
getExecutableImagesForPlan(Buildable buildable)
Calculates the list of elastic images that are capable of running an agent that can build a Buildable plan. |
boolean |
jobHasExecutableAgents(PlanKey planKey)
Checks if a Job can be built on any active agent. |
boolean |
jobHasExecutableAgents(PlanResultKey planResultKey)
Checks if a Job can be built on any active agent. |
Method Detail |
---|
boolean jobHasExecutableAgents(@NotNull PlanKey planKey)
planKey
-
java.lang.IllegalArgumentException
- if planKey is not a Job keyboolean jobHasExecutableAgents(@NotNull PlanResultKey planResultKey)
planResultKey
-
java.lang.IllegalArgumentException
- if planResultKey is not a key of running Jobjava.util.Collection<BuildAgent> getExecutableAgentsForPlan(@NotNull Buildable buildable, @NotNull BuildContext buildContext)
buildable
- buildContext
-
java.util.Collection<ElasticImageConfiguration> getExecutableImagesForPlan(@NotNull Buildable buildable)
buildable
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |