Class AgentDetailsDescription
- java.lang.Object
-
- jetbrains.buildServer.serverSide.agentTypes.AgentDescriptionBase
-
- jetbrains.buildServer.serverSide.impl.AgentDetailsDescription
-
- All Implemented Interfaces:
AgentDescription,MutableAgentDescription
public class AgentDetailsDescription extends AgentDescriptionBase implements AgentDescription
- Author:
- Eugene Petrenko Created: 12.02.2010 20:13:16
-
-
Constructor Summary
Constructors Constructor Description AgentDetailsDescription(RunTypeRegistry runTypes, VcsManager vcsManager, AgentDetails myAgentDetails)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAvailableRunTypeIds()Returns set of runner types available on the agentList<RunType>getAvailableRunTypes()Returns list of runners available on the agentList<String>getAvailableVcsPlugins()intgetCpuBenchmarkIndex()Returns this agent CPU benchmark index.intgetCpuCount()Returns the number of CPUs of this agentStringgetOperatingSystemName()Returns name of the operating system where the agent is currently running.booleanisEphemeral()Indicates whether these parameters only exist in memory and represent description of a particular agentvoidlogNotRecognizedPlugins()-
Methods inherited from class jetbrains.buildServer.serverSide.agentTypes.AgentDescriptionBase
getAvailableParameters, getAvailableParameterValue, getBuildParameters, getConfigurationParameters, getDefinedParameters, isCaseInsensitiveEnvironment, isCaseInsensitiveEnvironment, updateParameters
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jetbrains.buildServer.serverSide.AgentDescription
getAvailableParameters, getAvailableParameterValue, getBuildParameters, getConfigurationParameters, getDefinedParameters, isCaseInsensitiveEnvironment
-
-
-
-
Constructor Detail
-
AgentDetailsDescription
public AgentDetailsDescription(@NotNull RunTypeRegistry runTypes, @NotNull VcsManager vcsManager, @NotNull AgentDetails myAgentDetails)
-
-
Method Detail
-
logNotRecognizedPlugins
public void logNotRecognizedPlugins()
-
getAvailableRunTypes
@NotNull public List<RunType> getAvailableRunTypes()
Description copied from interface:AgentDescriptionReturns list of runners available on the agent- Specified by:
getAvailableRunTypesin interfaceAgentDescription- Returns:
- list of runners ordered by display name
-
getAvailableRunTypeIds
@NotNull public Set<String> getAvailableRunTypeIds()
Description copied from interface:AgentDescriptionReturns set of runner types available on the agent- Specified by:
getAvailableRunTypeIdsin interfaceAgentDescription- Returns:
- set of runner types
-
getAvailableVcsPlugins
@NotNull public List<String> getAvailableVcsPlugins()
- Specified by:
getAvailableVcsPluginsin interfaceAgentDescription
-
getOperatingSystemName
@NotNull public String getOperatingSystemName()
Description copied from interface:AgentDescriptionReturns name of the operating system where the agent is currently running.- Specified by:
getOperatingSystemNamein interfaceAgentDescription- Returns:
- name of the operating system where the agent is currently running.
-
getCpuBenchmarkIndex
public int getCpuBenchmarkIndex()
Description copied from interface:AgentDescriptionReturns this agent CPU benchmark index. The higher this value the more powerful agent CPU.- Specified by:
getCpuBenchmarkIndexin interfaceAgentDescription- Returns:
- CPU index or -1 if index is not available
-
getCpuCount
public int getCpuCount()
Description copied from interface:AgentDescriptionReturns the number of CPUs of this agent- Specified by:
getCpuCountin interfaceAgentDescription- Overrides:
getCpuCountin classAgentDescriptionBase- Returns:
- number of CPUs or -1 if count is not available
-
isEphemeral
public boolean isEphemeral()
Description copied from class:AgentDescriptionBaseIndicates whether these parameters only exist in memory and represent description of a particular agent- Overrides:
isEphemeralin classAgentDescriptionBase- Returns:
-
-