org.apache.maven.model
Class Prerequisites

java.lang.Object
  extended by org.apache.maven.model.Prerequisites
All Implemented Interfaces:
Serializable, Cloneable, InputLocationTracker

public class Prerequisites
extends Object
implements Serializable, Cloneable, InputLocationTracker

Describes the prerequisites a project can have.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
Prerequisites()
           
 
Method Summary
 Prerequisites clone()
          Method clone.
 InputLocation getLocation(Object key)
          Gets the location of the specified field in the input source.
 String getMaven()
          Get the minimum version of Maven required to build the project, or to use this plugin.
 void setLocation(Object key, InputLocation location)
          Sets the location of the specified field.
 void setMaven(String maven)
          Set the minimum version of Maven required to build the project, or to use this plugin.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Prerequisites

public Prerequisites()
Method Detail

clone

public Prerequisites clone()
Method clone.

Overrides:
clone in class Object
Returns:
Prerequisites

getLocation

public InputLocation getLocation(Object key)
Description copied from interface: InputLocationTracker
Gets the location of the specified field in the input source.

Specified by:
getLocation in interface InputLocationTracker
Parameters:
key -
Returns:
InputLocation

getMaven

public String getMaven()
Get the minimum version of Maven required to build the project, or to use this plugin.

Returns:
String

setLocation

public void setLocation(Object key,
                        InputLocation location)
Description copied from interface: InputLocationTracker
Sets the location of the specified field.

Specified by:
setLocation in interface InputLocationTracker
Parameters:
key -
location -

setMaven

public void setMaven(String maven)
Set the minimum version of Maven required to build the project, or to use this plugin.

Parameters:
maven -


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.