public interface Extension
| Modifier and Type | Method and Description |
|---|---|
void |
check(Root rootNode,
ExtensionParameters parameters)
Calls the extension to check Zserio tree.
|
java.lang.String |
getExtensionVersion()
Returns the version of Zserio extension.
|
java.lang.String |
getName()
Gets name of the extension.
|
java.lang.String |
getZserioVersion()
Returns the version of Zserio core which is expected by the extension.
|
boolean |
isEnabled(ExtensionParameters parameters)
Calls to check if the extension is enabled or not.
|
void |
process(Root rootNode,
ExtensionParameters parameters)
Calls the extension to process Zserio tree.
|
void |
registerOptions(org.apache.commons.cli.Options options)
Registers all command line options that extension accepts.
|
java.lang.String getName()
java.lang.String getZserioVersion()
java.lang.String getExtensionVersion()
void registerOptions(org.apache.commons.cli.Options options)
options - Instance where the options should be registered.boolean isEnabled(ExtensionParameters parameters)
parameters - The parameters to pass to extension.void check(Root rootNode, ExtensionParameters parameters) throws ZserioExtensionException
rootNode - The root node of Zserio tree to check.parameters - The parameters to pass to extension.ZserioExtensionException - In case of any error in extension.void process(Root rootNode, ExtensionParameters parameters) throws ZserioExtensionException
rootNode - The root node of Zserio tree to process.parameters - The parameters to pass to extension.ZserioExtensionException - In case of any error in extension.Last updated 2024-07-18 11:27:53