|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.bamboo.plan.PlanExecutableAgentsHelperImpl
public class PlanExecutableAgentsHelperImpl
Constructor Summary | |
---|---|
PlanExecutableAgentsHelperImpl(PlanManager planManager,
ExecutionStatusProvider executionStatusProvider,
LocalAgentManager localAgentManager,
com.atlassian.plugin.PluginAccessor pluginAccessor)
|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PlanExecutableAgentsHelperImpl(PlanManager planManager, ExecutionStatusProvider executionStatusProvider, LocalAgentManager localAgentManager, com.atlassian.plugin.PluginAccessor pluginAccessor)
Method Detail |
---|
public java.util.Collection<BuildAgent> getExecutableAgentsForPlan(@NotNull Buildable buildable, @NotNull BuildContext buildContext)
PlanExecutableAgentsHelper
getExecutableAgentsForPlan
in interface PlanExecutableAgentsHelper
public java.util.Collection<ElasticImageConfiguration> getExecutableImagesForPlan(@NotNull Buildable buildable)
PlanExecutableAgentsHelper
getExecutableImagesForPlan
in interface PlanExecutableAgentsHelper
public boolean jobHasExecutableAgents(@NotNull PlanKey planKey)
jobHasExecutableAgents
in interface PlanExecutableAgentsHelper
planKey
-
public boolean jobHasExecutableAgents(@NotNull PlanResultKey planResultKey)
jobHasExecutableAgents
in interface PlanExecutableAgentsHelper
planResultKey
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |