org.graffiti.managers.pluginmgr
Class PluginDescription

java.lang.Object
  extended by org.graffiti.managers.pluginmgr.PluginDescription

public class PluginDescription
extends Object

Contains a meta data of a plugin.

Version:
$Revision: 5779 $

Constructor Summary
PluginDescription()
          Constructs an empty plugin description,
 
Method Summary
 void addDependency(PluginDependency dep)
          Adds the given dependency to the list of dependencies.
 void addPluginDependency(PluginDependency dep)
          Adds the given plugin dependency to the list of dependencies.
 String getAuthor()
          Returns the author.
 String getAvailable()
          Returns the available.
 List<Dependency> getDependencies()
          Returns the dependencies.
 String getDescription()
          Returns the description.
 String getMain()
          Returns the main.
 String getName()
          Returns the name.
 Iterator<Dependency> getPluginDependenciesIterator()
          Returns an iterator over the plugin dependency list.
 String getVersion()
          Returns the version.
 void setAuthor(String author)
          Sets the author.
 void setAvailable(String available)
          Sets the available.
 void setDependencies(List<Dependency> dependencies)
          Sets the dependencies.
 void setDescription(String description)
          Sets the description.
 void setMain(String main)
          Sets the main.
 void setName(String name)
          Sets the name.
 void setVersion(String version)
          Sets the version.
 String toString()
          Returns a human readable string representation of this object.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PluginDescription

public PluginDescription()
Constructs an empty plugin description,

Method Detail

setAuthor

public void setAuthor(String author)
Sets the author.

Parameters:
author - The author to set

getAuthor

public String getAuthor()
Returns the author.

Returns:
String

setAvailable

public void setAvailable(String available)
Sets the available.

Parameters:
available - The available to set

getAvailable

public String getAvailable()
Returns the available.

Returns:
String

setDependencies

public void setDependencies(List<Dependency> dependencies)
Sets the dependencies.

Parameters:
dependencies - The dependencies to set

getDependencies

public List<Dependency> getDependencies()
Returns the dependencies.

Returns:
List

setDescription

public void setDescription(String description)
Sets the description.

Parameters:
description - The description to set

getDescription

public String getDescription()
Returns the description.

Returns:
String

setMain

public void setMain(String main)
Sets the main.

Parameters:
main - The main to set

getMain

public String getMain()
Returns the main.

Returns:
String

setName

public void setName(String name)
Sets the name.

Parameters:
name - The name to set

getName

public String getName()
Returns the name.

Returns:
String

getPluginDependenciesIterator

public Iterator<Dependency> getPluginDependenciesIterator()
Returns an iterator over the plugin dependency list.

Returns:
an iterator over the plugin dependency list.

setVersion

public void setVersion(String version)
Sets the version.

Parameters:
version - The version to set

getVersion

public String getVersion()
Returns the version.

Returns:
Version

addDependency

public void addDependency(PluginDependency dep)
Adds the given dependency to the list of dependencies.

Parameters:
dep - the dependency to add to the list of dependent plugins.

addPluginDependency

public void addPluginDependency(PluginDependency dep)
Adds the given plugin dependency to the list of dependencies.

Parameters:
dep - the dependency to add to the list.

toString

public String toString()
Returns a human readable string representation of this object.

Overrides:
toString in class Object
Returns:
a human readable string representation of this object.


Generated at 2012-05-30 11:00:14 PM CEST