@Extension
public class LeaseStartCommand
extends hudson.cli.CLICommand
| Modifier and Type | Field and Description |
|---|---|
long |
duration |
List<String> |
leases |
String |
name |
| Constructor and Description |
|---|
LeaseStartCommand() |
| Modifier and Type | Method and Description |
|---|---|
protected LeaseContext |
attachContext() |
String |
getShortDescription() |
protected hudson.model.Run |
optCurrentlyBuilding()
If the command is currently running inside a build, return it.
|
protected int |
run() |
all, checkChannel, clone, createClone, getClientCharset, getClientEnvironmentVariable, getClientSystemProperty, getCurrent, getName, getTransportAuthentication, loadStoredAuthentication, main, printUsage, printUsageSummary, registerOptionHandlers, setTransportAuth, shouldPerformAuthenticationpublic String name
public long duration
public String getShortDescription()
getShortDescription in class hudson.cli.CLICommandprotected int run()
throws Exception
run in class hudson.cli.CLICommandExceptionprotected LeaseContext attachContext() throws InterruptedException, IOException, org.kohsuke.args4j.CmdLineException
InterruptedExceptionIOExceptionorg.kohsuke.args4j.CmdLineExceptionprotected hudson.model.Run optCurrentlyBuilding()
throws org.kohsuke.args4j.CmdLineException
org.kohsuke.args4j.CmdLineExceptionCopyright © 2004-2013. All Rights Reserved.