org.mevenide.plugins
Class JarPluginInfo

java.lang.Object
  extended by org.mevenide.plugins.JarPluginInfo
All Implemented Interfaces:
IPluginInfo

public class JarPluginInfo
extends java.lang.Object

plugin information retrieved from the jar file of the plugin.

Author:
Milos Kleint

Constructor Summary
JarPluginInfo(java.io.File jarFile)
          Creates a new instance of JarPluginInfo
 
Method Summary
 java.lang.String getArtifactId()
          equals -
 java.lang.String getDescription()
           
 java.util.Set getEnhancedPropertyInfo()
          Set of PluginProperty> instances
 java.lang.String getLongName()
           
 java.lang.String getName()
          name of the plugin.
protected  java.io.InputStream getPluginPropsFileInputStream()
          input stream for plugin.properties file.
protected  java.io.InputStream getProjectFileInputStream()
          get the input stream for the project.xml file of teh plugin.
 java.util.Set getPropertyKeys()
          Set of String, property keys of the plugin.
 java.lang.String getVersion()
          the current version of the plugin installed.
protected  void readProjectValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JarPluginInfo

public JarPluginInfo(java.io.File jarFile)
Creates a new instance of JarPluginInfo

Method Detail

getName

public java.lang.String getName()
Description copied from interface: IPluginInfo
name of the plugin.

Specified by:
getName in interface IPluginInfo

getPluginPropsFileInputStream

protected java.io.InputStream getPluginPropsFileInputStream()
input stream for plugin.properties file.


getProjectFileInputStream

protected java.io.InputStream getProjectFileInputStream()
get the input stream for the project.xml file of teh plugin. for subclasses to implement.


getArtifactId

public java.lang.String getArtifactId()
Description copied from interface: IPluginInfo
equals -

Specified by:
getArtifactId in interface IPluginInfo

getVersion

public java.lang.String getVersion()
Description copied from interface: IPluginInfo
the current version of the plugin installed.

Specified by:
getVersion in interface IPluginInfo

getDescription

public java.lang.String getDescription()
Specified by:
getDescription in interface IPluginInfo

getLongName

public java.lang.String getLongName()
Specified by:
getLongName in interface IPluginInfo

getPropertyKeys

public java.util.Set getPropertyKeys()
Description copied from interface: IPluginInfo
Set of String, property keys of the plugin.

Specified by:
getPropertyKeys in interface IPluginInfo

getEnhancedPropertyInfo

public java.util.Set getEnhancedPropertyInfo()
Set of PluginProperty> instances

Specified by:
getEnhancedPropertyInfo in interface IPluginInfo

readProjectValues

protected final void readProjectValues()


Copyright © 2003-2005 The Codehaus. All Rights Reserved.