Interface EclipseOsgiPlugin
- All Known Implementing Classes:
AbstractEclipseOsgiPlugin
,ExplodedPlugin
,PackagedPlugin
public interface EclipseOsgiPlugin
Abstraction of Eclipse plugins
- Version:
- $Id$
- Author:
- Carlos Sanchez
-
Method Summary
Modifier and TypeMethodDescriptiongetJar()
Get a jar with the plugin contentsGet a jar with the plugin contentsGet the plugin ManifestLoads the plugin.properties file from a the plugin, usually needed in order to resolve the artifact name.Properties to add to the pomboolean
Whether the manifest is present or not
-
Method Details
-
getManifest
Get the plugin Manifest- Returns:
- the Manifest or
null
if it has no manifest - Throws:
IOException
-
hasManifest
Whether the manifest is present or not- Returns:
- true if the manifest exists, false otherwise
- Throws:
IOException
-
getJar
Get a jar with the plugin contents- Returns:
- the jar
- Throws:
IOException
-
getJarFile
Get a jar with the plugin contents- Returns:
- the jar file
- Throws:
IOException
-
getPluginProperties
Loads the plugin.properties file from a the plugin, usually needed in order to resolve the artifact name.- Returns:
- loaded Properties (or an empty properties if no plugin.properties is found)
- Throws:
IOException
- for exceptions while reading the file
-
getPomProperties
Properties getPomProperties()Properties to add to the pom- Returns:
- pom properties
-
getManifestAttribute
- Throws:
IOException
-