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 int
compareTo(PoolAgent that)
SAgentType
getAgentType()
String
getCloudNote()
int
getCpuRank()
BuildAgentEx
getFirstInstance()
int
getId()
int
getInstancesCount()
String
getName()
OSKind
getOSKind()
String
getOSName()
AgentTypePolicy
getPolicy()
boolean
isCloudAgent()
boolean
isIncompatibleWarning()
boolean
isWillRunNothingWarning()
void
setIncompatibleWarning(boolean incompatibleWarning)
void
setWillRunNothingWarning(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:
compareTo
in interfaceComparable<PoolAgent>
-
-