Class BuildAgentDecorator

    • Constructor Detail

      • BuildAgentDecorator

        public BuildAgentDecorator​(@NotNull
                                   @NotNull BuildAgent buildAgent)
    • Method Detail

      • getJson

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJson​(boolean includeAllProperties)
      • getJson

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJson()
                                                                             throws com.opensymphony.webwork.dispatcher.json.JSONException
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
      • isRequestedToBeStopped

        public boolean isRequestedToBeStopped()
        Description copied from interface: BuildAgent
        Whether or not a call has been made to shutdown the agent after the current build has finished
        Specified by:
        isRequestedToBeStopped in interface BuildAgent
        Returns:
      • isUnresponsive

        public boolean isUnresponsive()
        Description copied from interface: BuildAgent
        Whether or not the agent has been deemed to be "unresponsive". Agents will be first marked as unresponsive before they are made offline.

        Used for remote agents.

        Specified by:
        isUnresponsive in interface BuildAgent
        Returns:
      • setUnresponsive

        public void setUnresponsive​(boolean unresponsive)
        Specified by:
        setUnresponsive in interface BuildAgent
      • isBusy

        public boolean isBusy()
        Description copied from interface: BuildAgent
        Returns true if an agent is building or is cancelling a build
        Specified by:
        isBusy in interface BuildAgent
        Returns: