Class V0ToV1Migrator
java.lang.Object
hudson.plugins.global_build_stats.xstream.migration.PreV8AbstractMigrator<V0GlobalBuildStatsPOJO,V1GlobalBuildStatsPOJO>
hudson.plugins.global_build_stats.xstream.migration.v1.V0ToV1Migrator
- All Implemented Interfaces:
GlobalBuildStatsDataMigrator<V0GlobalBuildStatsPOJO,
V1GlobalBuildStatsPOJO>
public class V0ToV1Migrator
extends PreV8AbstractMigrator<V0GlobalBuildStatsPOJO,V1GlobalBuildStatsPOJO>
V1 Evolutions :
- No more empty BuildStatConfig's jobFilter in data configuration
- BuildStatConfiguration id added
- Author:
- fcamblor
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected V1GlobalBuildStatsPOJO
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
-
V0ToV1Migrator
public V0ToV1Migrator()
-
-
Method Details
-
createMigratedPojo
- Specified by:
createMigratedPojo
in classPreV8AbstractMigrator<V0GlobalBuildStatsPOJO,
V1GlobalBuildStatsPOJO>
-
migrateBuildStatConfigs
protected List<BuildStatConfiguration> migrateBuildStatConfigs(List<BuildStatConfiguration> buildStatConfigs) - Overrides:
migrateBuildStatConfigs
in classPreV8AbstractMigrator<V0GlobalBuildStatsPOJO,
V1GlobalBuildStatsPOJO>
-