@Override public void start(Computer c) { c.connect(false); } @Override
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ @Deprecated public final void launch() { connect(true); }
/** * @deprecated Implementation of CLI command "connect-node" moved to {@link hudson.cli.ConnectNodeCommand}. * * @param force * If true cancel any currently pending connect operation and retry from scratch */ @Deprecated public void cliConnect(boolean force) throws ExecutionException, InterruptedException { checkPermission(CONNECT); connect(force).get(); }
} else { c.connect(true);
@RequirePOST public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Jenkins.getInstance().checkPermission(Jenkins.ADMINISTER); for(Computer c : get_all()) { if(c.isLaunchSupported()) c.connect(true); } rsp.sendRedirect("."); }
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ public final void launch() { connect(true); }
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ public final void launch() { connect(true); }
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ public final void launch() { connect(true); }
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ public final void launch() { connect(true); }
/** * @deprecated since 2009-01-06. Use {@link #connect(boolean)} */ @Deprecated public final void launch() { connect(true); }
/** * @deprecated Implementation of CLI command "connect-node" moved to {@link hudson.cli.ConnectNodeCommand}. * * @param force * If true cancel any currently pending connect operation and retry from scratch */ @Deprecated public void cliConnect(boolean force) throws ExecutionException, InterruptedException { checkPermission(CONNECT); connect(force).get(); }
/** * CLI command to reconnect this node. */ @CLIMethod(name="connect-node") public void cliConnect(@Option(name="-f",usage="Cancel any currently pending connect operation and retry from scratch") boolean force) throws ExecutionException, InterruptedException { checkPermission(Hudson.ADMINISTER); connect(force).get(); }
/** * CLI command to reconnect this node. */ @CLIMethod(name="connect-node") public void cliConnect(@Option(name="-f",usage="Cancel any currently pending connect operation and retry from scratch") boolean force) throws ExecutionException, InterruptedException { checkPermission(Hudson.ADMINISTER); connect(force).get(); }
/** * CLI command to reconnect this node. */ @CLIMethod(name="connect-node") public void cliConnect(@Option(name="-f",usage="Cancel any currently pending connect operation and retry from scratch") boolean force) throws ExecutionException, InterruptedException { checkPermission(Hudson.ADMINISTER); connect(force).get(); }
/** * CLI command to reconnect this node. */ @CLIMethod(name = "connect-node") public void cliConnect(@Option(name = "-f", usage = "Cancel any currently pending connect operation and retry from scratch") boolean force) throws ExecutionException, InterruptedException { checkPermission(Hudson.ADMINISTER); connect(force).get(); }
public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); for(Computer c : get_all()) { if(c.isLaunchSupported()) c.connect(true); } rsp.sendRedirect("."); }
public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); for(Computer c : get_all()) { if(c.isLaunchSupported()) c.connect(true); } rsp.sendRedirect("."); }
public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); for (Computer c : get_all()) { if (c.isLaunchSupported()) { c.connect(true); } } rsp.sendRedirect("."); }
public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Hudson.getInstance().checkPermission(Hudson.ADMINISTER); for(Computer c : get_all()) { if(c.isLaunchSupported()) c.connect(true); } rsp.sendRedirect("."); }
@RequirePOST public void do_launchAll(StaplerRequest req, StaplerResponse rsp) throws IOException { Jenkins.getInstance().checkPermission(Jenkins.ADMINISTER); for(Computer c : get_all()) { if(c.isLaunchSupported()) c.connect(true); } rsp.sendRedirect("."); }