Class AgentRemoverImpl
- java.lang.Object
-
- jetbrains.buildServer.clouds.server.instances.terminate.AgentRemoverImpl
-
- All Implemented Interfaces:
AgentRemover
public class AgentRemoverImpl extends Object implements AgentRemover
- Author:
- Eugene Petrenko (eugene.petrenko@gmail.com) Date: 01.03.12 20:04
-
-
Constructor Summary
Constructors Constructor Description AgentRemoverImpl(SecurityContextEx context, BuildAgentManager agentManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CloudConstants.AgentRemovePolicyValuegetRemovePolicy(SBuildAgent agent)booleanisRemovableAgent(SBuildAgent agent)voidremoveAgent(SBuildAgent agent, String description)
-
-
-
Constructor Detail
-
AgentRemoverImpl
public AgentRemoverImpl(@NotNull SecurityContextEx context, @NotNull BuildAgentManager agentManager)
-
-
Method Detail
-
removeAgent
public void removeAgent(@NotNull SBuildAgent agent, @NotNull String description)- Specified by:
removeAgentin interfaceAgentRemover
-
isRemovableAgent
public boolean isRemovableAgent(@NotNull SBuildAgent agent)- Specified by:
isRemovableAgentin interfaceAgentRemover
-
getRemovePolicy
@NotNull public CloudConstants.AgentRemovePolicyValue getRemovePolicy(@NotNull SBuildAgent agent)
- Specified by:
getRemovePolicyin interfaceAgentRemover
-
-