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 int
CLICommand.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 void
CLIListener.onCompleted
(CLIContext context, int exitCode) Invoked after command execution.void
DefaultCLIListener.onCompleted
(CLIContext context, int exitCode) default void
CLIListener.onExecution
(CLIContext context) Invoked before command execution.void
DefaultCLIListener.onExecution
(CLIContext context) default void
CLIListener.onThrowable
(CLIContext context, Throwable t) Invoked when an exception or error occurs during command execution.void
DefaultCLIListener.onThrowable
(CLIContext context, Throwable t)