Class PoolAgent
- java.lang.Object
-
- jetbrains.buildServer.controllers.agent.PoolAgent
-
- All Implemented Interfaces:
Comparable<PoolAgent>
public class PoolAgent extends Object implements Comparable<PoolAgent>
An item of the pool content on the pools managing page. One instance of this class relates to one Agent Type, if the Agent Type is non-cloud Agent Type this instance relates also the corresponding Agent.- Author:
- Leonid Bushuev from JetBrains
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompareTo(PoolAgent that)SAgentTypegetAgentType()StringgetCloudNote()intgetCpuRank()BuildAgentExgetFirstInstance()intgetId()intgetInstancesCount()StringgetName()OSKindgetOSKind()StringgetOSName()AgentTypePolicygetPolicy()booleanisCloudAgent()booleanisIncompatibleWarning()booleanisWillRunNothingWarning()voidsetIncompatibleWarning(boolean incompatibleWarning)voidsetWillRunNothingWarning(boolean willRunNothingWarning)
-
-
-
Method Detail
-
getId
public int getId()
-
getAgentType
@NotNull public SAgentType getAgentType()
-
getName
@NotNull public String getName()
-
isCloudAgent
public boolean isCloudAgent()
-
getCloudNote
public String getCloudNote()
-
getOSKind
@Nullable public OSKind getOSKind()
-
getOSName
@Nullable public String getOSName()
-
getCpuRank
public int getCpuRank()
-
getPolicy
@NotNull public AgentTypePolicy getPolicy()
-
getInstancesCount
public int getInstancesCount()
-
getFirstInstance
@Nullable public BuildAgentEx getFirstInstance()
-
isWillRunNothingWarning
public boolean isWillRunNothingWarning()
-
setWillRunNothingWarning
public void setWillRunNothingWarning(boolean willRunNothingWarning)
-
isIncompatibleWarning
public boolean isIncompatibleWarning()
-
setIncompatibleWarning
public void setIncompatibleWarning(boolean incompatibleWarning)
-
compareTo
public int compareTo(PoolAgent that)
- Specified by:
compareToin interfaceComparable<PoolAgent>
-
-