SCT-82 Exit Code needs to be null while task is running

TaskLifecycleListener will set a TaskExecution's exitCode to null upon taskStart in the repository.
Only at the end of the execution will it store the exitCode.

resolves spring-cloud/spring-cloud-task#82
This commit is contained in:
Glenn Renfro
2016-02-22 13:39:02 -05:00
committed by Michael Minella
parent 472df2a399
commit 3b252680e7
5 changed files with 16 additions and 9 deletions

View File

@@ -98,6 +98,10 @@ map uncaught exceptions to exit codes. This allows you to be able to indicate a
level what went wrong. Also, by mapping exit codes in this manor, Spring Cloud Task will
record the exit code returned.
NOTE: While the task is running the exit code will be stored as a null in the repository.
Once complete the appropriate exit code will be stored based on the guidelines enumerated
above.
[[features-configuration]]
== Configuration