Class Requirements

  • All Implemented Interfaces:
    java.io.Serializable

    public class Requirements
    extends java.lang.Object
    implements java.io.Serializable
    Plugin requirements.
    Version:
    $Revision$ $Date$
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String diskSpace
      The minimum diskSpace needed to run this plugin.
      private java.lang.String jdk
      The minimum version of the JDK to run this plugin.
      private java.lang.String maven
      The minimum version of Maven to run this plugin.
      private java.lang.String memory
      The minimum memory needed to run this plugin.
      private java.util.Properties others
      Field others.
    • Constructor Summary

      Constructors 
      Constructor Description
      Requirements()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void addOther​(java.lang.String key, java.lang.String value)
      Method addOther.
      boolean equals​(java.lang.Object other)
      Method equals.
      java.lang.String getDiskSpace()
      Get the minimum diskSpace needed to run this plugin.
      java.lang.String getJdk()
      Get the minimum version of the JDK to run this plugin.
      java.lang.String getMaven()
      Get the minimum version of Maven to run this plugin.
      java.lang.String getMemory()
      Get the minimum memory needed to run this plugin.
      java.util.Properties getOthers()
      Method getOthers.
      int hashCode()
      Method hashCode.
      void setDiskSpace​(java.lang.String diskSpace)
      Set the minimum diskSpace needed to run this plugin.
      void setJdk​(java.lang.String jdk)
      Set the minimum version of the JDK to run this plugin.
      void setMaven​(java.lang.String maven)
      Set the minimum version of Maven to run this plugin.
      void setMemory​(java.lang.String memory)
      Set the minimum memory needed to run this plugin.
      void setOthers​(java.util.Properties others)
      Set others requirements properties.
      java.lang.String toString()
      Method toString.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • maven

        private java.lang.String maven
        The minimum version of Maven to run this plugin.
      • jdk

        private java.lang.String jdk
        The minimum version of the JDK to run this plugin.
      • memory

        private java.lang.String memory
        The minimum memory needed to run this plugin.
      • diskSpace

        private java.lang.String diskSpace
        The minimum diskSpace needed to run this plugin.
      • others

        private java.util.Properties others
        Field others.
    • Constructor Detail

      • Requirements

        public Requirements()
    • Method Detail

      • addOther

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

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

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

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

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

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

        public java.util.Properties getOthers()
        Method getOthers.
        Returns:
        Properties
      • hashCode

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

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

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

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

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

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

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