Class AgentCloudRelationImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.impl.AgentCloudRelationImpl
-
- All Implemented Interfaces:
CloudAgentRelation
public class AgentCloudRelationImpl extends Object implements CloudAgentRelation
- Author:
- Eugene Petrenko Created: 18.09.2009 15:42:09
-
-
Constructor Summary
Constructors Constructor Description AgentCloudRelationImpl(CloudManagerBase manager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Pair<CloudProfile,CloudInstance>
findInstanceByAgent(AgentDescription description)
Matches agent to cloud instance.Pair<CloudProfile,CloudInstance>
findInstanceByAgent(AgentDescription description, boolean searchEverywhere)
Map<AgentDescription,Pair<CloudProfile,CloudInstance>>
findInstancesByAgents(Collection<? extends AgentDescription> descriptions)
-
-
-
Constructor Detail
-
AgentCloudRelationImpl
public AgentCloudRelationImpl(CloudManagerBase manager)
-
-
Method Detail
-
findInstanceByAgent
@Nullable public Pair<CloudProfile,CloudInstance> findInstanceByAgent(@NotNull AgentDescription description)
Matches agent to cloud instance.- Specified by:
findInstanceByAgent
in interfaceCloudAgentRelation
- Parameters:
description
- description of agent to match with- Returns:
- result or null
-
findInstanceByAgent
@Nullable public Pair<CloudProfile,CloudInstance> findInstanceByAgent(@NotNull AgentDescription description, boolean searchEverywhere)
- Specified by:
findInstanceByAgent
in interfaceCloudAgentRelation
-
findInstancesByAgents
@NotNull public Map<AgentDescription,Pair<CloudProfile,CloudInstance>> findInstancesByAgents(@NotNull Collection<? extends AgentDescription> descriptions)
- Specified by:
findInstancesByAgents
in interfaceCloudAgentRelation
-
-