Package hudson.slaves

Class NodeDescriptor

    • Constructor Detail

      • NodeDescriptor

        protected NodeDescriptor​(Class<? extends Node> clazz)
      • NodeDescriptor

        protected NodeDescriptor()
    • Method Detail

      • isInstantiable

        public boolean isInstantiable()
        Can the administrator create this type of nodes from UI? Return false if it only makes sense for programs to create it, not through the "new node" UI.
      • newInstanceDetailPage

        public final String newInstanceDetailPage()
      • handleNewNodePage

        public void handleNewNodePage​(ComputerSet computerSet,
                                      String name,
                                      org.kohsuke.stapler.StaplerRequest req,
                                      org.kohsuke.stapler.StaplerResponse rsp)
                               throws IOException,
                                      javax.servlet.ServletException
        Handles the form submission from the "/computer/new" page, which is the first form for creating a new node. By default, it shows the configuration page for entering details, but subtypes can override this differently.
        Parameters:
        name - Name of the new node.
        Throws:
        IOException
        javax.servlet.ServletException