hudson.plugins.jobConfigHistory
Interface OverviewHistoryDao

All Known Implementing Classes:
FileHistoryDao

public interface OverviewHistoryDao

HistoryDao which returns all jobs, system configurations or deleted jobs.

Author:
Mirko Friedenhagen

Method Summary
 File[] getDeletedJobs(String folderName)
          Returns a list of deleted jobs with a history.
 File[] getDeletedNodes(String folderName)
          Returns a list of deleted nodes with a history.
 SortedMap<String,HistoryDescr> getJobHistory(String jobName)
          Returns a sorted map of all HistoryDescr for a given job.
 File[] getJobs(String folderName)
          Returns a list of jobs with a history.
 SortedMap<String,HistoryDescr> getNodeHistory(String nodeName)
          Returns a sorted map of all HistoryDescr for a given node.
 File[] getNodes(String folderName)
          Returns a list of nodes with a history.
 File[] getSystemConfigs()
          Returns a list of all system configuration files with a history.
 SortedMap<String,HistoryDescr> getSystemHistory(String name)
          Returns a sorted map of all HistoryDescr for a given system configuration.
 

Method Detail

getDeletedJobs

File[] getDeletedJobs(String folderName)
Returns a list of deleted jobs with a history.

Parameters:
folderName - name of folder.
Returns:
list of deleted jobs with a history, emtpy when no history exists.

getDeletedNodes

File[] getDeletedNodes(String folderName)
Returns a list of deleted nodes with a history.

Parameters:
folderName - name of folder.
Returns:
list of deleted nodes with a history, emtpy when no history exists.

getJobs

File[] getJobs(String folderName)
Returns a list of jobs with a history.

Parameters:
folderName - name of folder
Returns:
list of jobs with a history, emtpy when no history exists.

getNodes

File[] getNodes(String folderName)
Returns a list of nodes with a history.

Parameters:
folderName - name of folder
Returns:
list of nodes with a history, emtpy when no history exists.

getSystemConfigs

File[] getSystemConfigs()
Returns a list of all system configuration files with a history.

Returns:
list of all system configuration files with a history, emtpy when no history exists.

getJobHistory

SortedMap<String,HistoryDescr> getJobHistory(String jobName)
Returns a sorted map of all HistoryDescr for a given job.

Parameters:
jobName - of the job
Returns:
sorted map.

getNodeHistory

SortedMap<String,HistoryDescr> getNodeHistory(String nodeName)
Returns a sorted map of all HistoryDescr for a given node.

Parameters:
nodeName - of the node
Returns:
sorted map.

getSystemHistory

SortedMap<String,HistoryDescr> getSystemHistory(String name)
Returns a sorted map of all HistoryDescr for a given system configuration.

Parameters:
name - of the configuration
Returns:
sorted map.


Copyright © 2004–2014. All rights reserved.