public class ExtensionWrapper
extends java.lang.Object
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 and Description |
---|
ExtensionWrapper(DataExtension extension)
Create an ExtensionWrapper.
|
Modifier and Type | Method and Description |
---|---|
CallEvents[] |
getCallEvents() |
DataExtension |
getExtension() |
java.util.Collection<java.lang.String> |
getInvalidatedMethods() |
Icon |
getPluginIcon() |
java.lang.String |
getPluginName() |
java.util.Collection<TabInformation> |
getPluginTabs() |
DataProviders |
getProviders() |
java.util.Optional<java.lang.String[]> |
getTabOrder() |
java.util.Collection<java.lang.String> |
getWarnings() |
public ExtensionWrapper(DataExtension extension)
extension
- DataExtension to extract information from.java.lang.IllegalArgumentException
- If something is badly wrong with the specified extension class annotations.public CallEvents[] getCallEvents()
public DataExtension getExtension()
public java.lang.String getPluginName()
public Icon getPluginIcon()
public java.util.Collection<TabInformation> getPluginTabs()
public java.util.Optional<java.lang.String[]> getTabOrder()
public java.util.Collection<java.lang.String> getInvalidatedMethods()
public DataProviders getProviders()
public java.util.Collection<java.lang.String> getWarnings()