Class CloudQuotaCheckerImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.CloudQuotaCheckerImpl
-
- All Implemented Interfaces:
CloudQuotaChecker
public class CloudQuotaCheckerImpl extends Object implements CloudQuotaChecker
-
-
Constructor Summary
Constructors Constructor Description CloudQuotaCheckerImpl(CloudManagerBase base, RunningAgentsTracker tracker, BuildServerEx buildServerEx, AgentPoolManager agentPoolManager, AgentTypeStorage agentTypeStorage, SecurityContextEx securityContext, CloudEventDispatcher cloudEventDispatcher)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CanStartNewInstanceResult
checkCanAddNewAgentToPool(AgentPool agentPool, Supplier<Collection<Pair<CloudProfile,CloudInstance>>> startingInstancesSupplier)
CanStartNewInstanceResult
checkCloudQuota(CloudProfile profile, CloudImage image, CloudClientEx client)
-
-
-
Constructor Detail
-
CloudQuotaCheckerImpl
public CloudQuotaCheckerImpl(@NotNull CloudManagerBase base, @NotNull RunningAgentsTracker tracker, @NotNull BuildServerEx buildServerEx, @NotNull AgentPoolManager agentPoolManager, @NotNull AgentTypeStorage agentTypeStorage, @NotNull SecurityContextEx securityContext, @NotNull CloudEventDispatcher cloudEventDispatcher)
-
-
Method Detail
-
checkCloudQuota
@NotNull public CanStartNewInstanceResult checkCloudQuota(@NotNull CloudProfile profile, @NotNull CloudImage image, @NotNull CloudClientEx client)
- Specified by:
checkCloudQuota
in interfaceCloudQuotaChecker
-
checkCanAddNewAgentToPool
@NotNull protected CanStartNewInstanceResult checkCanAddNewAgentToPool(@NotNull AgentPool agentPool, @NotNull Supplier<Collection<Pair<CloudProfile,CloudInstance>>> startingInstancesSupplier)
-
-