Class UpgradeConversionTrigger

    • Constructor Summary

      Constructors 
      Constructor Description
      UpgradeConversionTrigger​(java.lang.String targetClassName)
      Creates a new UpgradeConversionTrigger indicating a component needs to be upgraded to another component type.
      UpgradeConversionTrigger​(java.lang.String targetClassName, java.lang.String requiredExtensionName, java.lang.String requiredExtensionId)
      Creates a new UpgradeConversionTrigger indicating a component needs to be upgraded to another component type.
    • Constructor Detail

      • UpgradeConversionTrigger

        public UpgradeConversionTrigger​(java.lang.String targetClassName)
        Creates a new UpgradeConversionTrigger indicating a component needs to be upgraded to another component type. Use UpgradeConversionTrigger(String, String, String) if the component type belongs to another extension.
        Parameters:
        targetClassName - the identifier of the new component type
      • UpgradeConversionTrigger

        public UpgradeConversionTrigger​(java.lang.String targetClassName,
                                        java.lang.String requiredExtensionName,
                                        java.lang.String requiredExtensionId)
        Creates a new UpgradeConversionTrigger indicating a component needs to be upgraded to another component type. Use UpgradeConversionTrigger(String) if the component type belongs to the same extension.
        Parameters:
        targetClassName - the identifier of the new component type
        requiredExtensionName - the name of the required extension
        requiredExtensionId - the UUID of the required extension
    • Method Detail

      • getCause

        public java.lang.String getCause()
        Description copied from interface: ConversionTrigger
        Returns a string identifying why the conversion was triggered. Should generally correspond to the trigger type.
        Returns:
        the conversion cause