org.apache.maven.plugin.plugin
Class Requirements

java.lang.Object
  extended by 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
Requirements()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Requirements

public Requirements()
Method Detail

addOther

public void addOther(String key,
                     String value)
Method addOther.

Parameters:
key -
value -

equals

public boolean equals(Object other)
Method equals.

Overrides:
equals in class Object
Parameters:
other -
Returns:
boolean

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

hashCode

public int hashCode()
Method hashCode.

Overrides:
hashCode in class Object
Returns:
int

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 -

toString

public String toString()
Method toString.

Overrides:
toString in class Object
Returns:
String


Copyright © 2004-2012 The Apache Software Foundation. All Rights Reserved.