Class ManualConversionTrigger

    • Constructor Summary

      Constructors 
      Constructor Description
      ManualConversionTrigger​(java.lang.String targetClassName, java.lang.String requiredExtensionName, java.lang.String requiredExtensionId, java.lang.String group)
      Creates a new ManualConversionTrigger indicating that the user has requested a component conversion.
    • Constructor Detail

      • ManualConversionTrigger

        public ManualConversionTrigger​(java.lang.String targetClassName,
                                       java.lang.String requiredExtensionName,
                                       java.lang.String requiredExtensionId,
                                       java.lang.String group)
        Creates a new ManualConversionTrigger indicating that the user has requested a component conversion.
        Parameters:
        targetClassName - the identifier of the new component type
        requiredExtensionName - the name of the required extension, or null if no extension is required
        requiredExtensionId - the UUID of the required extension, or null if no extension is required
        group - the conversion group the conversion option belongs to, or null if it is a direct conversion option
    • Method Detail

      • getGroup

        public java.lang.String getGroup()
        Returns the conversion group of the triggering conversion option. null is returned if it was a direct conversion option.
        Returns:
        the conversion group or null
      • 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