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.
      • extractAnnotationInformation

        @Deprecated
        public void extractAnnotationInformation()
        Deprecated.
        No longer used anywhere, no-op.
      • getWarnings

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

        public PluginInfo getPluginInfo()
      • getTabOrder

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

        public java.util.Collection<Tab> getTabAnnotations()
      • getTabInformation

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

        @Deprecated
        public MethodAnnotations getMethodAnnotations()
        Deprecated.
      • getInvalidateMethodAnnotations

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