Package org.apache.maven.profiles
Class Profile
- java.lang.Object
-
- org.apache.maven.profiles.Profile
-
- All Implemented Interfaces:
java.io.Serializable
public class Profile extends java.lang.Object implements java.io.SerializableModifications to the build process which is keyed on some sort of environmental parameter.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Profile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddPluginRepository(Repository repository)Method addPluginRepository.voidaddProperty(java.lang.String key, java.lang.String value)Method addProperty.voidaddRepository(Repository repository)Method addRepository.ActivationgetActivation()Get the conditional logic which will automatically trigger the inclusion of this profile.java.lang.StringgetId()Get the ID of this build profile, for activation purposes.java.util.List<Repository>getPluginRepositories()Method getPluginRepositories.java.util.PropertiesgetProperties()Method getProperties.java.util.List<Repository>getRepositories()Method getRepositories.voidremovePluginRepository(Repository repository)Method removePluginRepository.voidremoveRepository(Repository repository)Method removeRepository.voidsetActivation(Activation activation)Set the conditional logic which will automatically trigger the inclusion of this profile.voidsetId(java.lang.String id)Set the ID of this build profile, for activation purposes.voidsetPluginRepositories(java.util.List<Repository> pluginRepositories)Set the lists of the remote repositories for discovering plugins.voidsetProperties(java.util.Properties properties)Set extended configuration specific to this profile goes here.voidsetRepositories(java.util.List<Repository> repositories)Set the lists of the remote repositories.
-
-
-
Method Detail
-
addPluginRepository
public void addPluginRepository(Repository repository)
Method addPluginRepository.- Parameters:
repository- a repository object.
-
addProperty
public void addProperty(java.lang.String key, java.lang.String value)Method addProperty.- Parameters:
key- a key object.value- a value object.
-
addRepository
public void addRepository(Repository repository)
Method addRepository.- Parameters:
repository- a repository object.
-
getActivation
public Activation getActivation()
Get the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
-
getId
public java.lang.String getId()
Get the ID of this build profile, for activation purposes.- Returns:
- String
-
getPluginRepositories
public java.util.List<Repository> getPluginRepositories()
Method getPluginRepositories.- Returns:
- List
-
getProperties
public java.util.Properties getProperties()
Method getProperties.- Returns:
- Properties
-
getRepositories
public java.util.List<Repository> getRepositories()
Method getRepositories.- Returns:
- List
-
removePluginRepository
public void removePluginRepository(Repository repository)
Method removePluginRepository.- Parameters:
repository- a repository object.
-
removeRepository
public void removeRepository(Repository repository)
Method removeRepository.- Parameters:
repository- a repository object.
-
setActivation
public void setActivation(Activation activation)
Set the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
activation- a activation object.
-
setId
public void setId(java.lang.String id)
Set the ID of this build profile, for activation purposes.- Parameters:
id- a id object.
-
setPluginRepositories
public void setPluginRepositories(java.util.List<Repository> pluginRepositories)
Set the lists of the remote repositories for discovering plugins.- Parameters:
pluginRepositories- a pluginRepositories object.
-
setProperties
public void setProperties(java.util.Properties properties)
Set extended configuration specific to this profile goes here.- Parameters:
properties- a properties object.
-
setRepositories
public void setRepositories(java.util.List<Repository> repositories)
Set the lists of the remote repositories.- Parameters:
repositories- a repositories object.
-
-