cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Migration of plugin properties

marius_oehler-e
Participant

Hello,

currently I'm extending a Dynatrace plugin and have to handle a change in the plugin's properties. I know that a Migrator class (com.dynatrace.diagnostics.pdk.Migrator) exists which I can use in order to migrate the properties. But I don't find any documentation about this.

How is this class been used? Is it invoked(the class' migrate(..) method) every time the plugin is executed or is it called just once after the version changes?

In addition, when specifing the "migrator" in the plugin.xml, a "maxSourceVersion" and "minSourceVersion" attribute can be specified. What's they all about?

Thanks for any help.

Greets,
Marius

0 REPLIES 0