   hasInitialized: ->
     @_hasListed
 
+  getJobs: =>
+    @_rootFolder.getJobs()
+
+  hasJobs: =>
+    @getJobs().length > 0
+
   setFolder: (folder) =>
     @_hasListed = true
     @_rootFolder = folder

    if (recursive)
      for folder in @_folders
        folder = folder.getFolderByName(folderName)
        return folder if folder.length > 0
    null

  hasFolderByName: (folderName, recursive=true) =>


  _lastBuildStatus: (lastBuild) =>
    job = @_getJob()
    server = @_serverManager.getServerByJobName(job.name)
    path = "#{job.path}/#{lastBuild.number}/api/json"
    @_requestFactorySingle server, null, path, @_handleLastBuildStatus

  _requestFactorySingle: (server, folder, endpoint, callback, method = "get") =>
