Class AgentJsonProvider

    • Constructor Detail

      • AgentJsonProvider

        public AgentJsonProvider()
    • Method Detail

      • getJsonObject

        @NotNull
        public @NotNull com.opensymphony.webwork.dispatcher.json.JSONObject getJsonObject()
                                                                                   throws com.opensymphony.webwork.dispatcher.json.JSONException
        Description copied from class: BambooActionSupport
        This is default property read by webwork for webwork's result type "json".
        Overrides:
        getJsonObject in class BambooActionSupport
        Returns:
        Throws:
        com.opensymphony.webwork.dispatcher.json.JSONException
        See Also:
        JSON Result

        If descending classes need to add anything to JSON response these should override #buildJsonObject() method.

      • setAgentManager

        public void setAgentManager​(AgentManager agentManager)
      • setElasticInstanceManager

        public void setElasticInstanceManager​(ElasticInstanceManager elasticInstanceManager)
      • setOnlineOnly

        public void setOnlineOnly​(boolean onlineOnly)
      • setIncludeInstances

        public void setIncludeInstances​(boolean includeInstances)
      • setIncludeRemoteAgentSummary

        public void setIncludeRemoteAgentSummary​(boolean includeRemoteAgentSummary)