Class GlobalBuildStatsBusiness
java.lang.Object
hudson.plugins.global_build_stats.business.GlobalBuildStatsBusiness
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
org.jfree.chart.JFreeChart
createChart
(BuildStatConfiguration config) void
deleteBuildStatConfiguration
(String buildStatId) static String
escapeAntiSlashes
(String value) protected static List<JobBuildResult>
mergeJobBuildResults
(List<JobBuildResult> existingJobResults, List<JobBuildResult> jobResultsToMerge) void
moveDownConf
(String buildStatId) void
moveUpConf
(String buildStatId) void
onBuildDeleted
(Run<?, ?> build) void
onJobCompleted
(Run<?, ?> build) Records the result of a build.void
void
searchBuilds
(BuildHistorySearchCriteria searchCriteria) searchBuildStatConfigById
(String buildStatId) void
updateBuildStatConfiguration
(String oldBuildStatId, BuildStatConfiguration config, boolean regenerateId) void
updateRetentionStrategies
(List<RetentionStrategy> selectedStrategies)
-
Constructor Details
-
GlobalBuildStatsBusiness
-
-
Method Details
-
onJobCompleted
Records the result of a build. -
searchBuildStatConfigById
-
recordBuildInfos
- Throws:
IOException
-
createChart
-
searchBuilds
-
updateBuildStatConfiguration
public void updateBuildStatConfiguration(String oldBuildStatId, BuildStatConfiguration config, boolean regenerateId) throws IOException - Throws:
IOException
-
addBuildStatConfiguration
- Throws:
IOException
-
deleteBuildStatConfiguration
- Throws:
IOException
-
moveUpConf
- Throws:
IOException
-
moveDownConf
- Throws:
IOException
-
escapeAntiSlashes
-
updateRetentionStrategies
-
createDataSetBuilder
-
mergeJobBuildResults
protected static List<JobBuildResult> mergeJobBuildResults(List<JobBuildResult> existingJobResults, List<JobBuildResult> jobResultsToMerge) -
reloadPlugin
public void reloadPlugin() -
onBuildDeleted
-