Interface PluginDescriptor

    • Method Detail

      • getVendor

        java.lang.String getVendor()
        Returns:
        vendor as specified in manifest file or empty string
      • getVersion

        Version getVersion()
        Returns:
        plug-in version identifier as specified in manifest file
      • getAttributes

        java.util.Collection<PluginAttribute> getAttributes()
        Returns collection of all top level attributes defined in manifest.
        Returns:
        collection of PluginAttribute objects
      • getAttribute

        PluginAttribute getAttribute​(java.lang.String id)
        Parameters:
        id - ID of attribute to look for
        Returns:
        top level attribute with given ID
      • getAttributes

        java.util.Collection<PluginAttribute> getAttributes​(java.lang.String id)
        Parameters:
        id - ID of attribute to look for
        Returns:
        collection of all top level attributes with given ID
      • getPrerequisites

        java.util.Collection<PluginPrerequisite> getPrerequisites()
        Returns collection of all prerequisites defined in manifest.
        Returns:
        collection of PluginPrerequisite objects
      • getPrerequisite

        PluginPrerequisite getPrerequisite​(java.lang.String id)
        Parameters:
        id - prerequisite ID
        Returns:
        plug-in prerequisite object instance or null
      • getExtensionPoints

        java.util.Collection<ExtensionPoint> getExtensionPoints()
        Returns collection of all extension points defined in manifest.
        Returns:
        collection of ExtensionPoint objects
      • getExtensionPoint

        ExtensionPoint getExtensionPoint​(java.lang.String id)
        Parameters:
        id - extension point ID
        Returns:
        extension point object or null
      • getExtensions

        java.util.Collection<Extension> getExtensions()
        Returns collection of all extensions defined in manifest.
        Returns:
        collection of Extension objects
      • getExtension

        Extension getExtension​(java.lang.String id)
        Parameters:
        id - extension ID
        Returns:
        extension object or null
      • getLibraries

        java.util.Collection<Library> getLibraries()
        Returns collection of all libraries defined in manifest.
        Returns:
        collection of Library objects
      • getLibrary

        Library getLibrary​(java.lang.String id)
        Parameters:
        id - library ID
        Returns:
        library object or null
      • getRegistry

        PluginRegistry getRegistry()
        Returns:
        plug-ins registry
      • getPluginClassName

        java.lang.String getPluginClassName()
        Returns:
        plug-in class name as specified in manifest file or null
      • getFragments

        java.util.Collection<PluginFragment> getFragments()
        Returns collection of plug-in fragments which contributes to this plug-in. One plug-in fragment may contribute to several versions of the same plug-in, according to it's manifest.
        Returns:
        collection of PluginFragment objects
      • getLocation

        java.net.URL getLocation()
        Returns:
        location from which this plug-in was registered