Class ExtensionExtractor


  • public final class ExtensionExtractor
    extends java.lang.Object
    Implementation detail, for extracting methods from DataExtension.

    This class can be used for testing validity of annotation implementations in your unit tests to avoid runtime errors. validateAnnotations()

    • Constructor Detail

      • ExtensionExtractor

        public ExtensionExtractor​(DataExtension extension)
    • Method Detail

      • validateAnnotations

        public void validateAnnotations()
        Use this method in an unit test to validate your DataExtension.
        Throws:
        java.lang.IllegalArgumentException - If an implementation error is found.
      • getPluginName

        public static <T extends DataExtension> java.lang.String getPluginName​(java.lang.Class<T> extensionClass)
      • extractAnnotationInformation

        public void extractAnnotationInformation()
      • getWarnings

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

        public PluginInfo getPluginInfo()
      • getTabOrder

        public java.util.Optional<TabOrder> getTabOrder()
      • getTabInformation

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

        public java.util.List<InvalidateMethod> getInvalidateMethodAnnotations()