Class ActionResult<T>
java.lang.Object
com.evolveum.midpoint.ninja.action.ActionResult<T>
Class that allows to return result and expected exit code from action execution.
It's not a record for now because of the need to support Java 11.
-
Constructor Summary
ConstructorDescriptionActionResult
(T result) ActionResult
(T result, int exitCode) ActionResult
(T result, int exitCode, String exitMessage) -
Method Summary
-
Constructor Details
-
ActionResult
-
ActionResult
-
ActionResult
-
-
Method Details
-
result
-
exitCode
public int exitCode() -
exitMessage
-