Package org.apache.maven.plugin.plugin
Class Requirements
- java.lang.Object
-
- org.apache.maven.plugin.plugin.Requirements
-
- All Implemented Interfaces:
java.io.Serializable
public class Requirements extends java.lang.Object implements java.io.SerializablePlugin requirements.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringdiskSpaceThe minimum diskSpace needed to run this plugin.private java.lang.StringjdkThe minimum version of the JDK to run this plugin.private java.lang.StringmavenThe minimum version of Maven to run this plugin.private java.lang.StringmemoryThe minimum memory needed to run this plugin.private java.util.PropertiesothersField others.
-
Constructor Summary
Constructors Constructor Description Requirements()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOther(java.lang.String key, java.lang.String value)Method addOther.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetDiskSpace()Get the minimum diskSpace needed to run this plugin.java.lang.StringgetJdk()Get the minimum version of the JDK to run this plugin.java.lang.StringgetMaven()Get the minimum version of Maven to run this plugin.java.lang.StringgetMemory()Get the minimum memory needed to run this plugin.java.util.PropertiesgetOthers()Method getOthers.inthashCode()Method hashCode.voidsetDiskSpace(java.lang.String diskSpace)Set the minimum diskSpace needed to run this plugin.voidsetJdk(java.lang.String jdk)Set the minimum version of the JDK to run this plugin.voidsetMaven(java.lang.String maven)Set the minimum version of Maven to run this plugin.voidsetMemory(java.lang.String memory)Set the minimum memory needed to run this plugin.voidsetOthers(java.util.Properties others)Set others requirements properties.java.lang.StringtoString()Method toString.
-
-
-
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.
-
-
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:
equalsin classjava.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:
hashCodein classjava.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:
toStringin classjava.lang.Object- Returns:
- String
-
-