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 Summary
-
Constructor Summary
-
Method Summary
Modifier 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.void
setActivation
(Activation activation) Set the conditional logic which will automatically trigger the inclusion of this profile.void
Set information required to build the project.void
Set the identifier of this build profile.void
toString()
Methods inherited from class org.apache.maven.model.ModelBase
addDependency, 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
-
Profile
public Profile()
-
-
Method Details
-
clone
Method clone. -
getActivation
Get the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
-
getBuild
Get information required to build the project.- Returns:
- BuildBase
-
getId
Get the identifier of this build profile. This is used for command line activation, and identifies profiles to be merged.- Returns:
- String
-
setActivation
Set the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
activation
- a activation object.
-
setBuild
Set information required to build the project.- Parameters:
build
- a build object.
-
setId
Set 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
-