Class Requirements

java.lang.Object
org.apache.maven.plugin.plugin.Requirements
All Implemented Interfaces:
Serializable

public class Requirements extends Object implements Serializable
Plugin requirements.
Version:
$Revision$ $Date$
See Also:
Serialized Form
  • Constructor Details

  • Method Details

    • addOther

      public void addOther(String key, String value)
      Method addOther.
      Parameters:
      key -
      value -
    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other -
      Returns:
      boolean
    • getDiskSpace

      public String getDiskSpace()
      Get the minimum diskSpace needed to run this plugin.
      Returns:
      String
    • getJdk

      public String getJdk()
      Get the minimum version of the JDK to run this plugin.
      Returns:
      String
    • getMaven

      public String getMaven()
      Get the minimum version of Maven to run this plugin.
      Returns:
      String
    • getMemory

      public String getMemory()
      Get the minimum memory needed to run this plugin.
      Returns:
      String
    • getOthers

      Method getOthers.
      Returns:
      Properties
    • hashCode

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setDiskSpace

      public void setDiskSpace(String diskSpace)
      Set the minimum diskSpace needed to run this plugin.
      Parameters:
      diskSpace -
    • setJdk

      public void setJdk(String jdk)
      Set the minimum version of the JDK to run this plugin.
      Parameters:
      jdk -
    • setMaven

      public void setMaven(String maven)
      Set the minimum version of Maven to run this plugin.
      Parameters:
      maven -
    • setMemory

      public void setMemory(String memory)
      Set the minimum memory needed to run this plugin.
      Parameters:
      memory -
    • setOthers

      public void setOthers(Properties others)
      Set others requirements properties.
      Parameters:
      others -
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String