Class V6ToV7Migrator
java.lang.Object
hudson.plugins.global_build_stats.xstream.migration.PreV8AbstractMigrator<V6GlobalBuildStatsPOJO,V7GlobalBuildStatsPOJO>
hudson.plugins.global_build_stats.xstream.migration.v7.V6ToV7Migrator
- All Implemented Interfaces:
GlobalBuildStatsDataMigrator<V6GlobalBuildStatsPOJO,
V7GlobalBuildStatsPOJO>
public class V6ToV7Migrator
extends PreV8AbstractMigrator<V6GlobalBuildStatsPOJO,V7GlobalBuildStatsPOJO>
V7 Evolutions :
- Provided username having launched the build in JobBuildResult
- Author:
- fcamblor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected V7GlobalBuildStatsPOJO
protected List<BuildStatConfiguration>
migrateBuildStatConfigs
(List<BuildStatConfiguration> buildStatConfigs) protected List<JobBuildResult>
migrateJobBuildResults
(List<JobBuildResult> jobBuildResults) Methods inherited from class hudson.plugins.global_build_stats.xstream.migration.PreV8AbstractMigrator
migrate, readGlobalBuildStatsPOJO, registerBuildStatConfigId, retrieveBuildFromJobBuildResult
-
Constructor Details
-
V6ToV7Migrator
public V6ToV7Migrator()
-
-
Method Details
-
createMigratedPojo
- Specified by:
createMigratedPojo
in classPreV8AbstractMigrator<V6GlobalBuildStatsPOJO,
V7GlobalBuildStatsPOJO>
-
migrateBuildStatConfigs
protected List<BuildStatConfiguration> migrateBuildStatConfigs(List<BuildStatConfiguration> buildStatConfigs) - Overrides:
migrateBuildStatConfigs
in classPreV8AbstractMigrator<V6GlobalBuildStatsPOJO,
V7GlobalBuildStatsPOJO>
-
migrateJobBuildResults
- Overrides:
migrateJobBuildResults
in classPreV8AbstractMigrator<V6GlobalBuildStatsPOJO,
V7GlobalBuildStatsPOJO>
-