Class ViewAgentDetails

java.lang.Object
org.apache.struts2.ActionSupport
All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, NavigationAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, UserAware, com.atlassian.core.i18n.I18nTextProvider, Serializable, org.apache.struts2.action.Action, org.apache.struts2.interceptor.ValidationAware, org.apache.struts2.locale.LocaleProvider, org.apache.struts2.Preparable, org.apache.struts2.text.TextProvider, org.apache.struts2.Validateable
Direct Known Subclasses:
AgentJsonProvider, ConfigureAgentDetails

public class ViewAgentDetails extends GlobalAdminAction implements org.apache.struts2.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
    • manuallyNamed

      protected boolean manuallyNamed
    • agentManager

      @Inject protected AgentManager agentManager
  • Constructor Details

    • ViewAgentDetails

      public ViewAgentDetails()
  • Method Details

    • prepare

      public void prepare() throws Exception
      Specified by:
      prepare in interface org.apache.struts2.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)
    • isManuallyNamed

      public boolean isManuallyNamed()
    • getAgentName

      public String getAgentName()
    • getAgentDescription

      @Nullable public @Nullable String getAgentDescription()