Returns the state of the job item. Can be one of the job item state constants.
int The state of the job item.
public function getState();