hudson.cli
Class CLI
java.lang.Object
hudson.cli.CLI
public class CLI
- extends Object
CLI entry point to Jenkins.
- Author:
- Kohsuke Kawaguchi
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLI
public CLI(URL jenkins)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
CLI
public CLI(URL jenkins,
ExecutorService exec)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException,
InterruptedException
- Shuts down the channel and closes the underlying connection.
- Throws:
IOException
InterruptedException
execute
public int execute(List<String> args,
InputStream stdin,
OutputStream stdout,
OutputStream stderr)
execute
public int execute(List<String> args)
execute
public int execute(String... args)
hasCommand
public boolean hasCommand(String name)
- Returns true if the named command exists.
main
public static void main(String[] _args)
throws Exception
- Throws:
Exception
Copyright © 2004-2011. All Rights Reserved.