Class ViewAgentDetails

java.lang.Object
com.opensymphony.xwork2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.Preparable, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable
Direct Known Subclasses:
AgentJsonProvider, ConfigureAgentDetails

public class ViewAgentDetails extends GlobalAdminAction implements com.opensymphony.xwork2.Preparable
This action should only be used for non-mutative operations.
See Also:
  • Field Details

    • agent

      protected PipelineDefinition agent
    • buildAgent

      protected BuildAgent buildAgent
    • agentId

      protected long agentId
    • agentName

      protected String agentName
    • agentDescription

      @Nullable protected @Nullable String agentDescription
    • agentManager

      @Autowired protected AgentManager agentManager
  • Constructor Details

    • ViewAgentDetails

      public ViewAgentDetails()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface com.opensymphony.xwork2.Preparable
      Throws:
      Exception
    • getAgent

      public PipelineDefinition getAgent() throws Exception
      Throws:
      Exception
    • getBuildAgent

      public BuildAgent getBuildAgent()
    • setAgent

      public void setAgent(PipelineDefinition agent)
    • getAgentId

      public long getAgentId()
    • setAgentId

      public void setAgentId(long agentId)
    • getAgentName

      public String getAgentName()
    • getAgentDescription

      @Nullable public @Nullable String getAgentDescription()