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 void
addOther(String key, String value)
Method addOther.boolean
equals(Object other)
Method equals.String
getDiskSpace()
Get the minimum diskSpace needed to run this plugin.String
getJdk()
Get the minimum version of the JDK to run this plugin.String
getMaven()
Get the minimum version of Maven to run this plugin.String
getMemory()
Get the minimum memory needed to run this plugin.Properties
getOthers()
Method getOthers.int
hashCode()
Method hashCode.void
setDiskSpace(String diskSpace)
Set the minimum diskSpace needed to run this plugin.void
setJdk(String jdk)
Set the minimum version of the JDK to run this plugin.void
setMaven(String maven)
Set the minimum version of Maven to run this plugin.void
setMemory(String memory)
Set the minimum memory needed to run this plugin.void
setOthers(Properties others)
Set others requirements properties.String
toString()
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
-
-
-