Package org.apache.maven.model
Class Profile
java.lang.Object
org.apache.maven.model.ModelBase
org.apache.maven.model.Profile
- All Implemented Interfaces:
- Serializable,- Cloneable,- InputLocationTracker
Modifications to the build process which is activated based on
 environmental
         parameters or command line arguments.
- Version:
- $Revision$ $Date$
- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionclone()Method clone.Get the conditional logic which will automatically trigger the inclusion of this profile.getBuild()Get information required to build the project.getId()Get the identifier of this build profile.voidsetActivation(Activation activation) Set the conditional logic which will automatically trigger the inclusion of this profile.voidSet information required to build the project.voidSet the identifier of this build profile.voidtoString()Methods inherited from class org.apache.maven.model.ModelBaseaddDependency, addModule, addPluginRepository, addProperty, addRepository, getDependencies, getDependencyManagement, getDistributionManagement, getLocation, getModules, getPluginRepositories, getProperties, getReporting, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setLocation, setModules, setOtherLocation, setPluginRepositories, setProperties, setReporting, setReports, setRepositories
- 
Field Details- 
SOURCE_POM- See Also:
 
- 
SOURCE_SETTINGS- See Also:
 
 
- 
- 
Constructor Details- 
Profilepublic Profile()
 
- 
- 
Method Details- 
cloneMethod clone.
- 
getActivationGet the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
 
- 
getBuildGet information required to build the project.- Returns:
- BuildBase
 
- 
getIdGet the identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.- Returns:
- String
 
- 
setActivationSet the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
- activation- a activation object.
 
- 
setBuildSet information required to build the project.- Parameters:
- build- a build object.
 
- 
setIdSet the identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.- Parameters:
- id- a id object.
 
- 
setSource
- 
getSource
- 
toString
 
-