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 Details

    • PluginDependency

      public PluginDependency()
  • Method Details

    • 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
    • setMain

      public void setMain​(String main)
      Sets the main.
      Parameters:
      main - The main to set
    • getMain

      public String getMain()
      Returns the main.
      Specified by:
      getMain in interface Dependency
      Returns:
      String
    • setName

      public void setName​(String name)
      Sets the name.
      Parameters:
      name - The name to set
    • getName

      public String getName()
      Returns the name.
      Specified by:
      getName in interface Dependency
      Returns:
      String
    • setVersion

      public void setVersion​(String version)
      Sets the version.
      Parameters:
      version - The version to set
    • getVersion

      public String getVersion()
      Returns the version.
      Returns:
      String
    • toString

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