The different task states are described in the following TaskState.java file.
Basically, in the database, this will look like: