Package org.graffiti.managers.pluginmgr
Class PluginDependency
java.lang.Object
org.graffiti.managers.pluginmgr.PluginDependency
- All Implemented Interfaces:
Dependency
public class PluginDependency extends Object implements Dependency
Models a dependency to another plugin.
- Version:
- $Revision: 1.5 $
-
Constructor Summary
Constructors Constructor Description PluginDependency() -
Method Summary
Modifier and Type Method Description StringgetAuthor()Returns the author.StringgetAvailable()Returns the available.StringgetMain()Returns the main.StringgetName()Returns the name.StringgetVersion()Returns the version.voidsetAuthor(String author)Sets the author.voidsetAvailable(String available)Sets the available.voidsetMain(String main)Sets the main.voidsetName(String name)Sets the name.voidsetVersion(String version)Sets the version.StringtoString()Returns a human readable string of this object.
-
Constructor Details
-
PluginDependency
public PluginDependency()
-
-
Method Details
-
setAuthor
Sets the author.- Parameters:
author- The author to set
-
getAuthor
Returns the author.- Returns:
- String
-
setAvailable
Sets the available.- Parameters:
available- The available to set
-
getAvailable
Returns the available.- Returns:
- String
-
setMain
Sets the main.- Parameters:
main- The main to set
-
getMain
Returns the main.- Specified by:
getMainin interfaceDependency- Returns:
- String
-
setName
Sets the name.- Parameters:
name- The name to set
-
getName
Returns the name.- Specified by:
getNamein interfaceDependency- Returns:
- String
-
setVersion
Sets the version.- Parameters:
version- The version to set
-
getVersion
Returns the version.- Returns:
- String
-
toString
Returns a human readable string of this object.
-