protected S createNewStatus(R request)
    {
        Job currentJob = this.jobContext.getCurrentJob();
        JobStatus currentJobStatus = currentJob != null ? currentJob.getStatus() : null;
        return (S) new DefaultJobStatus<R>(getType(), request, currentJobStatus, this.observationManager,
            this.loggerManager);
    }
protected S createNewStatus ( R request ) { Job currentJob = this . jobContext . getCurrentJob ( ) ; JobStatus currentJobStatus = currentJob != null ? currentJob . getStatus ( ) : null ; return ( S ) new DefaultJobStatus < R > ( getType ( ) , request , currentJobStatus , this . observationManager , this . loggerManager ) ; }
Create a new standard {@link JobStatus}. Jobs requiring a custom {@link JobStatus} should overwrite this method.

@param request contains information related to the job to execute
@return the status of the job