jetbrains.buildServer
Interface BuildAgent

All Known Subinterfaces:
SBuildAgent

public interface BuildAgent

Representation of registered agent


Field Summary
static int DEFAULT_POOL_ID
           
static java.lang.String DEFAULT_POOL_NAME
           
 
Method Summary
 int getCpuBenchmarkIndex()
          Returns this agent CPU benchmark index.
 int getId()
          Returns this agent unique id
 java.lang.String getName()
          Returns name of the agent
 boolean isEnabled()
          Returns true if agent is enabled and false otherwise
 boolean isUpgrading()
          Returns true if agent is upgrading
 

Field Detail

DEFAULT_POOL_ID

static final int DEFAULT_POOL_ID
See Also:
Constant Field Values

DEFAULT_POOL_NAME

static final java.lang.String DEFAULT_POOL_NAME
See Also:
Constant Field Values
Method Detail

getId

int getId()
Returns this agent unique id

Returns:
agent unique id

getName

java.lang.String getName()
Returns name of the agent

Returns:
name of the agent

isUpgrading

boolean isUpgrading()
Returns true if agent is upgrading

Returns:
true if agent is upgrading

isEnabled

boolean isEnabled()
Returns true if agent is enabled and false otherwise

Returns:
true if agent is enabled and false otherwise

getCpuBenchmarkIndex

int getCpuBenchmarkIndex()
Returns this agent CPU benchmark index. The higher this value the more powerful agent CPU.

Returns:
CPU index or -1 if index is not available