public abstract class AbstractEclipseOsgiPlugin extends java.lang.Object implements EclipseOsgiPlugin
| Modifier and Type | Field and Description |
|---|---|
private java.io.File |
file |
private java.util.Properties |
pluginProperties |
| Constructor and Description |
|---|
AbstractEclipseOsgiPlugin(java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
java.io.File |
getFile() |
java.lang.String |
getManifestAttribute(java.lang.String key) |
java.util.Properties |
getPluginProperties()
Loads the plugin.properties file from a the plugin, usually needed in order to resolve the artifact name.
|
java.util.Properties |
getPomProperties()
Properties to add to the pom
|
void |
setFile(java.io.File file) |
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetJar, getJarFile, getManifest, hasManifestprivate java.io.File file
private java.util.Properties pluginProperties
public void setFile(java.io.File file)
public java.io.File getFile()
public java.lang.String toString()
toString in class java.lang.Objectpublic java.util.Properties getPluginProperties()
throws java.io.IOException
EclipseOsgiPlugingetPluginProperties in interface EclipseOsgiPluginjava.io.IOException - for exceptions while reading the filepublic java.util.Properties getPomProperties()
EclipseOsgiPlugingetPomProperties in interface EclipseOsgiPluginpublic java.lang.String getManifestAttribute(java.lang.String key)
throws java.io.IOException
getManifestAttribute in interface EclipseOsgiPluginjava.io.IOException