com.dynatrace.diagnostics.pdk
Interface Migrator


public interface Migrator

Implementors of this interface (which typically also implement Plugin) can migrate their existing instance configuration through versions changes.


Method Summary
 void migrate(PropertyContainer properties, int major, int minor, int micro, java.lang.String qualifier)
          Migrate the supplied properties to the current state.
 

Method Detail

migrate

void migrate(PropertyContainer properties,
             int major,
             int minor,
             int micro,
             java.lang.String qualifier)
Migrate the supplied properties to the current state. This will be called for every configured plugin instance (e.g. a single Monitor configuration). The number/types of the updated properties may be different from the arguments but have to match the definition in the latest plugin.xml

Parameters:
properties - the properties to migrate. this may be modified in place.
major - the major version number part
minor - the minor version number part
micro - the micro version number part
qualifier - the qualifier version part


Copyright © 2004-2012 dynaTrace software GmbH