Java org.springframework.batch.core ExitStatus fields, constructors, methods, implement or subclass

Example usage for Java org.springframework.batch.core ExitStatus fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.springframework.batch.core ExitStatus.

The text is from its open source code.

Field

ExitStatusUNKNOWN
Convenient constant value representing unknown state - assumed not continuable.
ExitStatusEXECUTING
Convenient constant value representing continuable state where processing is still taking place, so no further action is required.
ExitStatusCOMPLETED
Convenient constant value representing finished processing.
ExitStatusNOOP
Convenient constant value representing job that did no processing (e.g.
ExitStatusFAILED
Convenient constant value representing finished processing with an error.
ExitStatusSTOPPED
Convenient constant value representing finished processing with interrupted status.

Constructor

Method

ExitStatusaddExitDescription(String description)
Add an exit description to an existing ExitStatus .
ExitStatusaddExitDescription(Throwable throwable)
Extract the stack trace from the throwable provided and append it to the exist description.
ExitStatusand(ExitStatus status)
Create a new ExitStatus with a logical combination of the exit code, and a concatenation of the descriptions.
booleanequals(Object obj)
Compare the fields one by one.
StringgetExitCode()
Getter for the exit code (defaults to blank).
booleanisRunning()
Check if this status represents a running process.