Package hudson.model

Class Slave.SlaveDescriptor

    • Constructor Detail

      • SlaveDescriptor

        public SlaveDescriptor()
    • Method Detail

      • 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