org.mevenide.plugins
Class DefaultPluginInfo

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

public class DefaultPluginInfo
extends java.lang.Object

default implementation of IPluginInfo that is based on the directories in maven plugin cache.

Author:
Milos Kleint

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
 

Method Detail

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

getName

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

Specified by:
getName 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.