Package org.apache.maven.model
Class Profile
java.lang.Object
org.apache.maven.model.ModelBase
org.apache.maven.model.Profile
- All Implemented Interfaces:
Serializable
Modifications to the build process which is activated based on
environmental
parameters or command line arguments.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet 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, getModules, getPluginRepositories, getProperties, getReporting, getReports, getRepositories, removeDependency, removeModule, removePluginRepository, removeRepository, setDependencies, setDependencyManagement, setDistributionManagement, setModules, setPluginRepositories, setProperties, setReporting, setReports, setRepositories
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
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
-