hudson.cli
Class CLICommandInvoker
java.lang.Object
hudson.cli.CLICommandInvoker
public class CLICommandInvoker
- extends Object
Helper class to invoke CLICommand and check the response.
- Author:
- ogondza
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CLICommandInvoker
public CLICommandInvoker(JenkinsRule rule,
hudson.cli.CLICommand command)
CLICommandInvoker
public CLICommandInvoker(JenkinsRule rule,
String command)
authorizedTo
public CLICommandInvoker authorizedTo(hudson.security.Permission... permissions)
withStdin
public CLICommandInvoker withStdin(InputStream stdin)
withArgs
public CLICommandInvoker withArgs(String... args)
invokeWithArgs
public CLICommandInvoker.Result invokeWithArgs(String... args)
invoke
public CLICommandInvoker.Result invoke()
user
public hudson.model.User user()
Copyright © 2004-2014. All Rights Reserved.