Class ExtensionPointDistanceStrategy

  • Direct Known Subclasses:
    DistanceStrategy.DistanceStrategyFactory

    public class ExtensionPointDistanceStrategy
    extends java.lang.Object
    an extension point is a class that defines a point where Extension can be added.
    This is typically used together with plugins, however any class may register extensions
    to an extension point.
    • Constructor Detail

      • ExtensionPointDistanceStrategy

        public ExtensionPointDistanceStrategy​(long cPtr,
                                              boolean cMemoryOwn)
      • ExtensionPointDistanceStrategy

        public ExtensionPointDistanceStrategy​(java.lang.String id,
                                              java.lang.String name,
                                              Plugin plugin)
        Constructor
        Parameters:
        id - [in] unique identifier of this extension point
        name - [in] human readable name of this extension point
        plugin - [in] the plugin from which this extension point is defined, NULL if not
        defined from plugin
      • ExtensionPointDistanceStrategy

        public ExtensionPointDistanceStrategy​(java.lang.String id,
                                              java.lang.String name)
        Constructor
        Parameters:
        id - [in] unique identifier of this extension point
        name - [in] human readable name of this extension point
    • Method Detail

      • delete

        public void delete()
      • getId

        public java.lang.String getId()
        get unique identifier of this extensionpoint
      • getName

        public java.lang.String getName()
        get human readable name of this extension point
      • getSchema

        public PropertyMap getSchema()
        the schema describe the possible properties/configurations elements
        which is used in the PropertyMap. It contain examples of all possible configuration
        options. This can be used to configure any extensions that needs to attach to
        this extension point.
      • getExtensions

        public VectorExtensionPtr getExtensions()
        get all extensions of this extension point