Class V4ToV5Migrator
java.lang.Object
hudson.plugins.global_build_stats.xstream.migration.PreV8AbstractMigrator<V4GlobalBuildStatsPOJO,V5GlobalBuildStatsPOJO>
hudson.plugins.global_build_stats.xstream.migration.v5.V4ToV5Migrator
- All Implemented Interfaces:
GlobalBuildStatsDataMigrator<V4GlobalBuildStatsPOJO,
V5GlobalBuildStatsPOJO>
public class V4ToV5Migrator
extends PreV8AbstractMigrator<V4GlobalBuildStatsPOJO,V5GlobalBuildStatsPOJO>
V5 Evolutions :
- BuildStatConfiguration.nodeFilter attribute added
- BuildStatConfiguration.jobFilter values refactored ("jobNameRegex" to "fieldRegex")
- Author:
- fcamblor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected V5GlobalBuildStatsPOJO
protected List<BuildStatConfiguration>
migrateBuildStatConfigs
(List<BuildStatConfiguration> buildStatConfigs) Methods inherited from class hudson.plugins.global_build_stats.xstream.migration.PreV8AbstractMigrator
migrate, migrateJobBuildResults, readGlobalBuildStatsPOJO, registerBuildStatConfigId, retrieveBuildFromJobBuildResult
-
Constructor Details
-
V4ToV5Migrator
public V4ToV5Migrator()
-
-
Method Details
-
createMigratedPojo
- Specified by:
createMigratedPojo
in classPreV8AbstractMigrator<V4GlobalBuildStatsPOJO,
V5GlobalBuildStatsPOJO>
-
migrateBuildStatConfigs
protected List<BuildStatConfiguration> migrateBuildStatConfigs(List<BuildStatConfiguration> buildStatConfigs) - Overrides:
migrateBuildStatConfigs
in classPreV8AbstractMigrator<V4GlobalBuildStatsPOJO,
V5GlobalBuildStatsPOJO>
-