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 BuildAgentEx
getBuildAgent()
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.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: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
-
getBuildAgent
@Nullable public BuildAgentEx getBuildAgent()
-
-