agave-jobs/jobs-core/src/main/java/org/iplantc/service/jobs/queue/actions/StagingAction.java
/**
     * Calculates the job work path if not already set for the current job.
     * @param executionSystem the {@link ExecutionSystem} on which the job will run
     * @return the remote job work directory
     * @see JobManager#calculateJobRemoteWorkPath(Job, ExecutionSystem)
     */
Calculates the job work path if not already set for the current job.
@param executionSystem the  ExecutionSystem on which the job will run
@return the remote job work directory
@see JobManager#calculateJobRemoteWorkPath(Job, ExecutionSystem)
Calculates the job work path if not already set for the current job . @param executionSystem the ExecutionSystem on which the job will run @return the remote job work directory @see JobManager#calculateJobRemoteWorkPath ( Job ExecutionSystem )
protected String calculateRemoteJobPath(ExecutionSystem executionSystem) {
        String remoteJobPath = getJob().getWorkPath();
        if (StringUtils.isBlank(remoteJobPath)) {
            remoteJobPath = getJobManager().calculateJobRemoteWorkPath(getJob(), executionSystem);
        }
        return remoteJobPath;
    }
protected String calculateRemoteJobPath ( ExecutionSystem executionSystem ) { String remoteJobPath = getJob ( ) . getWorkPath ( ) ; if ( StringUtils . isBlank ( remoteJobPath ) ) { remoteJobPath = getJobManager ( ) . calculateJobRemoteWorkPath ( getJob ( ) , executionSystem ) ; } return remoteJobPath ; }
Calculates the job work path if not already set for the current job.
Calculates the job work path if not already set for the current job .