public final class ExtensionExtractor
extends java.lang.Object
DataExtension
.
This class can be used for testing validity of annotation implementations
in your unit tests to avoid runtime errors. validateAnnotations()
Constructor and Description |
---|
ExtensionExtractor(DataExtension extension) |
Modifier and Type | Method and Description |
---|---|
void |
extractAnnotationInformation() |
java.util.List<InvalidateMethod> |
getInvalidateMethodAnnotations() |
MethodAnnotations |
getMethodAnnotations() |
PluginInfo |
getPluginInfo() |
static <T extends DataExtension> |
getPluginName(java.lang.Class<T> extensionClass) |
java.util.List<TabInfo> |
getTabInformation() |
java.util.Optional<TabOrder> |
getTabOrder() |
java.util.List<java.lang.String> |
getWarnings() |
void |
validateAnnotations()
Use this method in an unit test to validate your DataExtension.
|
public ExtensionExtractor(DataExtension extension)
public void validateAnnotations()
java.lang.IllegalArgumentException
- If an implementation error is found.public static <T extends DataExtension> java.lang.String getPluginName(java.lang.Class<T> extensionClass)
public void extractAnnotationInformation()
public java.util.List<java.lang.String> getWarnings()
public PluginInfo getPluginInfo()
public java.util.Optional<TabOrder> getTabOrder()
public java.util.List<TabInfo> getTabInformation()
public MethodAnnotations getMethodAnnotations()
public java.util.List<InvalidateMethod> getInvalidateMethodAnnotations()