Class EC2FleetNodeComputer

All Implemented Interfaces:
ExtensionPoint, DescriptorByNameOwner, ExecutorListener, ModelObject, SearchableModelObject, SearchItem, AccessControlled, IComputer, ModelObjectWithContextMenu, Named, HasWidgets, IconSpec, org.kohsuke.stapler.StaplerProxy

@ThreadSafe public class EC2FleetNodeComputer extends SlaveComputer
The EC2FleetNodeComputer represents the running state of EC2FleetNode that holds executors.
See Also:
  • Constructor Details

    • EC2FleetNodeComputer

      public EC2FleetNodeComputer(EC2FleetNode agent)
  • Method Details

    • isMarkedForDeletion

      public boolean isMarkedForDeletion()
    • getNode

      public EC2FleetNode getNode()
      Overrides:
      getNode in class SlaveComputer
    • getInstanceId

      @CheckForNull public String getInstanceId()
    • getCloud

      public AbstractEC2FleetCloud getCloud()
    • getConfiguredEnvironmentVariables

      @Nonnull public Map<String,String> getConfiguredEnvironmentVariables()
    • isConfiguredEnvironmentVariablesVisible

      public boolean isConfiguredEnvironmentVariablesVisible()
    • getDisplayName

      @Nonnull public String getDisplayName()
      Return label which will represent executor in "Build Executor Status" section of Jenkins UI.
      Specified by:
      getDisplayName in interface ModelObject
      Overrides:
      getDisplayName in class Computer
      Returns:
      Node's display name
    • doDoDelete

      public org.kohsuke.stapler.HttpResponse doDoDelete() throws IOException
      When the agent is deleted, schedule EC2 instance for termination
      Overrides:
      doDoDelete in class Computer
      Returns:
      HttpResponse
      Throws:
      IOException