hudson.cli
Class CLI
java.lang.Object
hudson.cli.CLI
public class CLI
- extends Object
CLI entry point to Hudson.
- 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 hudson)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
CLI
public CLI(URL hudson,
ExecutorService exec)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
close
public void close()
throws IOException,
InterruptedException
- 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 Hudson. All Rights Reserved.