public class CLICommandInvoker extends Object
CLICommand and check the response.| Modifier and Type | Class and Description |
|---|---|
static class |
CLICommandInvoker.Matcher |
static class |
CLICommandInvoker.Result |
| Constructor and Description |
|---|
CLICommandInvoker(JenkinsRule rule,
hudson.cli.CLICommand command) |
CLICommandInvoker(JenkinsRule rule,
String command) |
| Modifier and Type | Method and Description |
|---|---|
CLICommandInvoker |
authorizedTo(hudson.security.Permission... permissions) |
CLICommandInvoker.Result |
invoke() |
CLICommandInvoker.Result |
invokeWithArgs(String... args) |
hudson.model.User |
user() |
CLICommandInvoker |
withArgs(String... args) |
CLICommandInvoker |
withStdin(InputStream stdin) |
public CLICommandInvoker(JenkinsRule rule, hudson.cli.CLICommand command)
public CLICommandInvoker(JenkinsRule rule, String command)
public CLICommandInvoker authorizedTo(hudson.security.Permission... permissions)
public CLICommandInvoker withStdin(InputStream stdin)
public CLICommandInvoker withArgs(String... args)
public CLICommandInvoker.Result invokeWithArgs(String... args)
public CLICommandInvoker.Result invoke()
public hudson.model.User user()
Copyright © 2004-2014. All Rights Reserved.