Uses of Class
jenkins.cli.listeners.CLIContext
Packages that use CLIContext
-
Uses of CLIContext in hudson.cli
Methods in hudson.cli with parameters of type CLIContextModifier and TypeMethodDescriptionprotected intCLICommand.handleException(Throwable e, CLIContext context, org.kohsuke.args4j.CmdLineParser p) Determines command stderr output and return the exit code as described onCLICommand.main(List, Locale, InputStream, PrintStream, PrintStream) -
Uses of CLIContext in jenkins.cli.listeners
Methods in jenkins.cli.listeners with parameters of type CLIContextModifier and TypeMethodDescriptiondefault voidCLIListener.onCompleted(CLIContext context, int exitCode) Invoked after command execution.voidDefaultCLIListener.onCompleted(CLIContext context, int exitCode) default voidCLIListener.onExecution(CLIContext context) Invoked before command execution.voidDefaultCLIListener.onExecution(CLIContext context) default voidCLIListener.onThrowable(CLIContext context, Throwable t) Invoked when an exception or error occurs during command execution.voidDefaultCLIListener.onThrowable(CLIContext context, Throwable t)