Package hudson.model

Class Slave.SlaveDescriptor

All Implemented Interfaces:
Saveable, Loadable, OnMaster
Direct Known Subclasses:
DumbSlave.DescriptorImpl
Enclosing class:
Slave

public abstract static class Slave.SlaveDescriptor extends NodeDescriptor
  • Constructor Details

    • SlaveDescriptor

      public SlaveDescriptor()
  • Method Details

    • doCheckNumExecutors

      public FormValidation doCheckNumExecutors(@QueryParameter String value)
    • doCheckRemoteFS

      public FormValidation doCheckRemoteFS(@QueryParameter String value) throws IOException, javax.servlet.ServletException
      Performs syntactical check on the remote FS for agents.
      Throws:
      IOException
      javax.servlet.ServletException
    • computerLauncherDescriptors

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<Descriptor<ComputerLauncher>> computerLauncherDescriptors(@CheckForNull Slave it)
      Returns the list of ComputerLauncher descriptors appropriate to the supplied Slave.
      Parameters:
      it - the Slave or null to assume the agent is of type Descriptor.clazz.
      Returns:
      the filtered list
      Since:
      2.12
    • retentionStrategyDescriptors

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<Descriptor<RetentionStrategy<?>>> retentionStrategyDescriptors(@CheckForNull Slave it)
      Returns the list of RetentionStrategy descriptors appropriate to the supplied Slave.
      Parameters:
      it - the Slave or null to assume the slave is of type Descriptor.clazz.
      Returns:
      the filtered list
      Since:
      2.12
    • nodePropertyDescriptors

      @NonNull @Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public final List<NodePropertyDescriptor> nodePropertyDescriptors(@CheckForNull Slave it)
      Returns the list of NodePropertyDescriptor appropriate to the supplied Slave.
      Parameters:
      it - the Slave or null to assume the agent is of type Descriptor.clazz.
      Returns:
      the filtered list
      Since:
      2.12