public abstract class AbstractMetadataBasedPlugin extends Object implements Plugin<PluginMetadata>, MetadataProvider
PluginMetadata. Plugins based on this class can be selected from the
PluginRegistry via an instance of PluginMetadata. Therefore you can regard this as a role model
implementation of a base class for certain delimiter implmentations.| Constructor and Description |
|---|
AbstractMetadataBasedPlugin(String name,
String version)
Creates a new instance of
AbstractMetadataBasedPlugin. |
| Modifier and Type | Method and Description |
|---|---|
PluginMetadata |
getMetadata()
Returns the plugins metadata.
|
boolean |
supports(PluginMetadata delimiter) |
public boolean supports(PluginMetadata delimiter)
supports in interface Plugin<PluginMetadata>public PluginMetadata getMetadata()
MetadataProvidergetMetadata in interface MetadataProviderCopyright © 2008–2019 Pivotal Software, Inc.. All rights reserved.