org.apache.maven.plugin.eclipse.osgiplugin
Class ExplodedPlugin

java.lang.Object
  extended by org.apache.maven.plugin.eclipse.osgiplugin.AbstractEclipseOsgiPlugin
      extended by org.apache.maven.plugin.eclipse.osgiplugin.ExplodedPlugin
All Implemented Interfaces:
EclipseOsgiPlugin

public class ExplodedPlugin
extends AbstractEclipseOsgiPlugin

Represents an Eclipse plugin that it's exploded in a directory

Version:
$Id: ExplodedPlugin.java 728546 2008-12-21 22:56:51Z bentmann $
Author:
Carlos Sanchez

Constructor Summary
ExplodedPlugin(File folder)
           
 
Method Summary
 JarFile getJar()
          Get a jar with the plugin contents
 File getJarFile()
          Get a jar with the plugin contents
 Manifest getManifest()
          Get the plugin Manifest
 Properties getPomProperties()
          set the pom property to install unpacked if it was unpacked
 boolean hasManifest()
          Whether the manifest is present or not
 
Methods inherited from class org.apache.maven.plugin.eclipse.osgiplugin.AbstractEclipseOsgiPlugin
getFile, getManifestAttribute, getPluginProperties, setFile, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExplodedPlugin

public ExplodedPlugin(File folder)
Method Detail

getManifest

public Manifest getManifest()
                     throws IOException
Description copied from interface: EclipseOsgiPlugin
Get the plugin Manifest

Returns:
the Manifest or null if it has no manifest
Throws:
IOException

hasManifest

public boolean hasManifest()
Description copied from interface: EclipseOsgiPlugin
Whether the manifest is present or not

Returns:
true if the manifest exists, false otherwise

getJarFile

public File getJarFile()
                throws IOException
Description copied from interface: EclipseOsgiPlugin
Get a jar with the plugin contents

Returns:
the jar file
Throws:
IOException

getJar

public JarFile getJar()
               throws IOException
Description copied from interface: EclipseOsgiPlugin
Get a jar with the plugin contents

Returns:
the jar
Throws:
IOException

getPomProperties

public Properties getPomProperties()
set the pom property to install unpacked if it was unpacked

Specified by:
getPomProperties in interface EclipseOsgiPlugin
Overrides:
getPomProperties in class AbstractEclipseOsgiPlugin
Returns:
pom properties


Copyright © 2002-2012 The Apache Software Foundation. All Rights Reserved.