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 String
getAuthor()
Returns the author.String
getAvailable()
Returns the available.String
getMain()
Returns the main.String
getName()
Returns the name.String
getVersion()
Returns the version.void
setAuthor(String author)
Sets the author.void
setAvailable(String available)
Sets the available.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 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:
getMain
in interfaceDependency
- Returns:
- String
-
setName
Sets the name.- Parameters:
name
- The name to set
-
getName
Returns the name.- Specified by:
getName
in 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.
-