Class ManageEphemeralAgentsPodsAction

java.lang.Object
com.opensymphony.xwork2.ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.configuration.GlobalAdminAction
com.atlassian.bamboo.ww2.actions.admin.ephemeral.ManageEphemeralAgentsPodsAction
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.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

public class ManageEphemeralAgentsPodsAction extends GlobalAdminAction implements GlobalAdminSecurityAware
See Also:
  • Constructor Details

    • ManageEphemeralAgentsPodsAction

      public ManageEphemeralAgentsPodsAction()
  • Method Details

    • view

      public String view() throws Exception
      Throws:
      Exception
    • getAllPods

      public List<EphemeralAgentPod> getAllPods()
    • getRunningPods

      public List<EphemeralAgentPod> getRunningPods()
    • getPendingPods

      public List<EphemeralAgentPod> getPendingPods()
    • getAgentByPodName

      public BuildAgent getAgentByPodName(String podName)
    • getAgentTemplateId

      public long getAgentTemplateId(PipelineDefinition agentDefinition)
    • getTemplateNameById

      public Optional<String> getTemplateNameById(long templateId)
    • getEphemeralAgentLogs

      public List<EphemeralAgentManagementLogger.EphemeralAgentLog> getEphemeralAgentLogs()
    • deletePod

      public String deletePod()
    • shutdownAllPods

      public String shutdownAllPods()
    • anyRunningEphemeralPodShutdownable

      public boolean anyRunningEphemeralPodShutdownable()
    • getPodName

      public String getPodName()
    • setPodName

      public void setPodName(String podName)
    • isActionConfirmed

      public boolean isActionConfirmed()
    • setActionConfirmed

      public void setActionConfirmed(boolean actionConfirmed)
    • setShutdownAllPodsConfirmed

      public void setShutdownAllPodsConfirmed(boolean shutdownAllPodsConfirmed)