org.apache.maven.model
Class Prerequisites

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

public class Prerequisites
extends Object
implements Serializable

Describes the prerequisites a project can have.

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

Constructor Summary
Prerequisites()
           
 
Method Summary
 String getMaven()
          Get the minimum version of Maven required to build the project, or to use this plugin.
 String getModelEncoding()
           
 void setMaven(String maven)
          Set the minimum version of Maven required to build the project, or to use this plugin.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Prerequisites

public Prerequisites()
Method Detail

getMaven

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

Returns:
String

setMaven

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

Parameters:
maven -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


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