Package org.apache.maven.plugin.plugin
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 Summary
Constructors Constructor Description Requirements()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddOther(String key, String value)Method addOther.booleanequals(Object other)Method equals.StringgetDiskSpace()Get the minimum diskSpace needed to run this plugin.StringgetJdk()Get the minimum version of the JDK to run this plugin.StringgetMaven()Get the minimum version of Maven to run this plugin.StringgetMemory()Get the minimum memory needed to run this plugin.PropertiesgetOthers()Method getOthers.inthashCode()Method hashCode.voidsetDiskSpace(String diskSpace)Set the minimum diskSpace needed to run this plugin.voidsetJdk(String jdk)Set the minimum version of the JDK to run this plugin.voidsetMaven(String maven)Set the minimum version of Maven to run this plugin.voidsetMemory(String memory)Set the minimum memory needed to run this plugin.voidsetOthers(Properties others)Set others requirements properties.StringtoString()Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Method equals.
-
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
public Properties getOthers()
Method getOthers.- Returns:
- Properties
-
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-
-
-