Returns the state of the job. Can be one of the job state constants.
int The state of the job or NULL if it hasn't been set yet.
Overrides JobInterface::getState
public function getState() { return $this ->get('state')->value; }