@Override
    public BatchStatus getStatus(String snapshotId) throws SnapshotNotFoundException, SnapshotException {

        checkInitialized();
        JobExecution ex = getJobExecution(this.snapshotRepo.findByName(snapshotId));
        if (ex == null) {
            return BatchStatus.UNKNOWN;
        } else {
            return ex.getStatus();
        }
    }
@ Override public BatchStatus getStatus ( String snapshotId ) throws SnapshotNotFoundException , SnapshotException { checkInitialized ( ) ; JobExecution ex = getJobExecution ( this . snapshotRepo . findByName ( snapshotId ) ) ; if ( ex == null ) { return BatchStatus . UNKNOWN ; } else { return ex . getStatus ( ) ; } }
/*
(non-Javadoc)

@see
org.duracloud.snapshot.rest.SnapshotJobManager#getJobExecution(java.lang
.String)