Import

public class Import extends PluginComponent

An Import is a plugin component which represents the import element in the plugin descriptor.

Author:Hugo Y. K. Lam

See also: Plugin

Constructors

Import

public Import(PluginComponent parent, String importedPluginId)

Creates a new instance of Import.

Parameters:
  • parent – the parent plugin component.
  • importedPluginId – the ID of the imported plugin.

Methods

getImportedPlugin

public Plugin getImportedPlugin()

Gets the imported plugin.

Returns:the imported plugin.

getImportedPluginId

public String getImportedPluginId()

Gets the ID of the imported plugin.

Returns:the ID of the imported plugin.

toString

public String toString()

Returns a string representation of this import.

Returns:a string representation of this import.

See also: java.lang.Object.toString()