public static String toFullJobPath(final String jobName) {
        final String[] parts = jobName.split("/");
        if (parts.length == 1) return parts[0];
        final StringBuilder sb = new StringBuilder(DEFAULT_BUFFER_SIZE);
        
        for (int i = 0; i < parts.length; i++) {
            sb.append(parts[i]);
            if (i != parts.length -1) sb.append("/job/");
        }
        return sb.toString();
    }
public static String toFullJobPath ( final String jobName ) { final String [ ] parts = jobName . split ( "/" ) ; if ( parts . length == 1 ) return parts [ 0 ] ; final StringBuilder sb = new StringBuilder ( DEFAULT_BUFFER_SIZE ) ; for ( int i = 0 ; i < parts . length ; i ++ ) { sb . append ( parts [ i ] ) ; if ( i != parts . length - 1 ) sb . append ( "/job/" ) ; } return sb . toString ( ) ; }
Parses the provided job name for folders to get the full path for the job.
@param jobName the fullName of the job.
@return the path of the job including folders if present.