Class PoolRestrictor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.PoolRestrictorInfo
-
- jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.PoolRestrictor
-
- All Implemented Interfaces:
AgentRestrictor
,SAgentRestrictor
,Filter<BuildAgent>
public class PoolRestrictor extends PoolRestrictorInfo implements SAgentRestrictor
- Author:
- Maxim.Manuylov Date: 11/1/11
-
-
Constructor Summary
Constructors Constructor Description PoolRestrictor(int poolId, AgentPoolManager agentPoolManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AgentPool
getAgentPool()
String
getJspPagePath()
Returns path to the JSP page to render this restriction on build queue page in "Agent" columnboolean
isRelatedToPool(int agentPoolId)
-
Methods inherited from class jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.PoolRestrictorInfo
accept, getId, getType
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.AgentRestrictor
getId, getType
-
-
-
-
Constructor Detail
-
PoolRestrictor
public PoolRestrictor(int poolId, @NotNull AgentPoolManager agentPoolManager)
-
-
Method Detail
-
getJspPagePath
@NotNull public String getJspPagePath()
Description copied from interface:SAgentRestrictor
Returns path to the JSP page to render this restriction on build queue page in "Agent" column- Specified by:
getJspPagePath
in interfaceSAgentRestrictor
- Returns:
- see above
-
isRelatedToPool
public boolean isRelatedToPool(int agentPoolId)
- Specified by:
isRelatedToPool
in interfaceSAgentRestrictor
-
getAgentPool
@Nullable public AgentPool getAgentPool()
-
-