Interface BuildAgent

  • All Known Subinterfaces:
    SBuildAgent

    public interface BuildAgent
    Representation of registered agent
    • 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
      • getCpuCount

        int getCpuCount()
        Returns the number of CPUs of this agent
        Returns:
        number of CPUs or -1 if count is not available
        Since:
        2023.03
      • getAgentPoolId

        int getAgentPoolId()

        Returns the pool id the agent belongs to.

        Returns:
        agent pool id the agent belongs to
        Since:
        10.0