public class Requirements
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Field and 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 and Description |
|---|
Requirements() |
| Modifier and Type | Method and 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.
|
private java.lang.String maven
private java.lang.String jdk
private java.lang.String memory
private java.lang.String diskSpace
private java.util.Properties others
public void addOther(java.lang.String key,
java.lang.String value)
key - value - public boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - public java.lang.String getDiskSpace()
public java.lang.String getJdk()
public java.lang.String getMaven()
public java.lang.String getMemory()
public java.util.Properties getOthers()
public int hashCode()
hashCode in class java.lang.Objectpublic void setDiskSpace(java.lang.String diskSpace)
diskSpace - public void setJdk(java.lang.String jdk)
jdk - public void setMaven(java.lang.String maven)
maven - public void setMemory(java.lang.String memory)
memory - public void setOthers(java.util.Properties others)
others - public java.lang.String toString()
toString in class java.lang.Object