Skip to content

Commit

Permalink
Added failure modes to Javadocs
Browse files Browse the repository at this point in the history
  • Loading branch information
ethauvin committed Nov 27, 2023
1 parent e4412eb commit eda0df1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/main/java/rife/bld/extension/ExecOperation.java
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,17 @@ public void execute() throws Exception {

/**
* Configure the failure mode.
* <p>
* The failure modes are:
* <ul>
* <li>{@link ExecFail#EXIT}<p>Exit value > 0</p></li>
* <li>{@link ExecFail#NORMAL}<p>Exit value > 0 or any data to the standard error stream (stderr)</p></li>
* <li>{@link ExecFail#OUTPUT}<p>Any data to the standard output stream (stdout) or stderr</p></li>
* <li>{@link ExecFail#STDERR}<p>Any data to stderr</p></li>
* <li>{@link ExecFail#STDOUT}<p>Any data to stdout</p></li>
* <li>{@link ExecFail#ALL}<p>Any of the conditions above</p></li>
* <li>{@link ExecFail#NONE}<p>Never fails</p></li>
* </ul>
*
* @param fail one or more failure modes
* @return this operation instance
Expand Down

0 comments on commit eda0df1

Please sign in to comment.