Class SingleAgentRestrictor
- java.lang.Object
-
- jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.SingleAgentRestrictorInfo
-
- jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.SingleAgentRestrictor
-
- All Implemented Interfaces:
AgentRestrictor,SAgentRestrictor,Filter<BuildAgent>
public class SingleAgentRestrictor extends SingleAgentRestrictorInfo implements SAgentRestrictor
- Author:
- Maxim.Manuylov Date: 11/1/11
-
-
Constructor Summary
Constructors Constructor Description SingleAgentRestrictor(int agentId, BuildAgentManager buildAgentManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildAgentExgetBuildAgent()StringgetJspPagePath()Returns path to the JSP page to render this restriction on build queue page in "Agent" columnbooleanisRelatedToPool(int agentPoolId)-
Methods inherited from class jetbrains.buildServer.serverSide.impl.buildDistribution.restrictors.SingleAgentRestrictorInfo
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
-
SingleAgentRestrictor
public SingleAgentRestrictor(int agentId, @NotNull BuildAgentManager buildAgentManager)
-
-
Method Detail
-
getJspPagePath
@NotNull public String getJspPagePath()
Description copied from interface:SAgentRestrictorReturns path to the JSP page to render this restriction on build queue page in "Agent" column- Specified by:
getJspPagePathin interfaceSAgentRestrictor- Returns:
- see above
-
isRelatedToPool
public boolean isRelatedToPool(int agentPoolId)
- Specified by:
isRelatedToPoolin interfaceSAgentRestrictor
-
getBuildAgent
@Nullable public BuildAgentEx getBuildAgent()
-
-