Class PreV9AbstractMigrator<TFROM extends GlobalBuildStatsPOJO,TTO extends GlobalBuildStatsPOJO>
java.lang.Object
hudson.plugins.global_build_stats.xstream.migration.PreV9AbstractMigrator<TFROM,TTO>
- All Implemented Interfaces:
GlobalBuildStatsDataMigrator<TFROM,
TTO>
- Direct Known Subclasses:
V7ToV8Migrator
public abstract class PreV9AbstractMigrator<TFROM extends GlobalBuildStatsPOJO,TTO extends GlobalBuildStatsPOJO>
extends Object
implements GlobalBuildStatsDataMigrator<TFROM,TTO>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract TTO
protected List<BuildStatConfiguration>
migrateBuildStatConfigs
(List<BuildStatConfiguration> buildStatConfigs) protected List<JobBuildResult>
migrateJobBuildResults
(List<JobBuildResult> jobBuildResults) readGlobalBuildStatsPOJO
(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) protected boolean
protected static Run<?,
?>
-
Constructor Details
-
PreV9AbstractMigrator
public PreV9AbstractMigrator()
-
-
Method Details
-
migrate
- Specified by:
migrate
in interfaceGlobalBuildStatsDataMigrator<TFROM extends GlobalBuildStatsPOJO,
TTO extends GlobalBuildStatsPOJO>
-
readGlobalBuildStatsPOJO
public TTO readGlobalBuildStatsPOJO(com.thoughtworks.xstream.io.HierarchicalStreamReader reader, com.thoughtworks.xstream.converters.UnmarshallingContext context) - Specified by:
readGlobalBuildStatsPOJO
in interfaceGlobalBuildStatsDataMigrator<TFROM extends GlobalBuildStatsPOJO,
TTO extends GlobalBuildStatsPOJO>
-
migrateBuildStatConfigs
protected List<BuildStatConfiguration> migrateBuildStatConfigs(List<BuildStatConfiguration> buildStatConfigs) -
migrateJobBuildResults
-
registerBuildStatConfigId
protected boolean registerBuildStatConfigId() -
retrieveBuildFromJobBuildResult
-
createMigratedPojo
-