Class ExtensionWrapper


  • public class ExtensionWrapper
    extends java.lang.Object
    Represents information defined in a DataExtension class.

    Extracts objects that can be used to obtain data from a DataExtension.

    Goal of this class is to abstract away DataExtension API annotations so that they will not be needed outside when calling methods.

    • Constructor Detail

      • ExtensionWrapper

        public ExtensionWrapper​(DataExtension extension)
        Create an ExtensionWrapper.
        Parameters:
        extension - DataExtension to extract information from.
        Throws:
        java.lang.IllegalArgumentException - If something is badly wrong with the specified extension class annotations.
    • Method Detail

      • getCallEvents

        public CallEvents[] getCallEvents()
      • getPluginName

        public java.lang.String getPluginName()
      • getPluginIcon

        public Icon getPluginIcon()
      • getPluginTabs

        public java.util.Collection<TabInformation> getPluginTabs()
      • getTabOrder

        public java.util.Optional<java.lang.String[]> getTabOrder()
      • getInvalidatedMethods

        public java.util.Collection<java.lang.String> getInvalidatedMethods()
      • getWarnings

        public java.util.Collection<java.lang.String> getWarnings()
      • getPluginInfo

        public PluginInfo getPluginInfo()
      • getTabInformation

        public java.util.List<TabInfo> getTabInformation()