Class PluginMetadata
java.lang.Object
com.blueriq.component.api.plugin.PluginMetadata
- All Implemented Interfaces:
IPluginMetadata, Serializable
Class for reading plugin meta data from a properties file.
- Since:
- 8.1
- Author:
- Danny Roest
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPluginMetadata(String pluginArtifact) Creates a new PluginMetadata instance for the plugin artifact by reading "[pluginArtifact].plugin" from the classpath.PluginMetadata(Properties properties) Creates a new PluginMetadata instance for the plugin with the specified properties. -
Method Summary
Modifier and TypeMethodDescriptionbooleanThis method returns the artifactId.This method returns the description of the plugin.This method returns the groupId of the plugin.getName()This method returns the name of the plugin.This method returns the properties where this metadata is based on.getUrl()This method returns the url for more information about the plugin.This method returns the version the plugin.inthashCode()toString()
-
Constructor Details
-
PluginMetadata
Creates a new PluginMetadata instance for the plugin artifact by reading "[pluginArtifact].plugin" from the classpath.- Parameters:
pluginArtifact- the name of the artifact.
-
PluginMetadata
Creates a new PluginMetadata instance for the plugin with the specified properties.- Parameters:
properties- the properties containing the metadata.
-
-
Method Details
-
getProperties
This method returns the properties where this metadata is based on.- Returns:
- the properties where this metadata is based on.
-
getGroupId
Description copied from interface:IPluginMetadataThis method returns the groupId of the plugin.- Specified by:
getGroupIdin interfaceIPluginMetadata- Returns:
- the GroupId
-
getName
Description copied from interface:IPluginMetadataThis method returns the name of the plugin.- Specified by:
getNamein interfaceIPluginMetadata- Returns:
- the name of the plugin
-
getDescription
Description copied from interface:IPluginMetadataThis method returns the description of the plugin.- Specified by:
getDescriptionin interfaceIPluginMetadata- Returns:
- the description of this plugin.
-
getVersion
Description copied from interface:IPluginMetadataThis method returns the version the plugin.- Specified by:
getVersionin interfaceIPluginMetadata- Returns:
- the version of the plugin.
-
toString
-
hashCode
-
equals
-
getArtifactId
Description copied from interface:IPluginMetadataThis method returns the artifactId.- Specified by:
getArtifactIdin interfaceIPluginMetadata- Returns:
- the artifactId
-
getUrl
Description copied from interface:IPluginMetadataThis method returns the url for more information about the plugin.- Specified by:
getUrlin interfaceIPluginMetadata- Returns:
- the url, may be null.
-