Package org.apache.maven.settings
Class Profile
java.lang.Object
org.apache.maven.settings.TrackableBase
org.apache.maven.settings.IdentifiableBase
org.apache.maven.settings.Profile
- All Implemented Interfaces:
- Serializable,- Cloneable
Modifications to the build process which is keyed on
 some
         sort of environmental parameter.
- Version:
- $Revision$ $Date$
- See Also:
- 
Field SummaryFields inherited from class org.apache.maven.settings.TrackableBaseGLOBAL_LEVEL, USER_LEVEL
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddPluginRepository(Repository repository) Method addPluginRepository.voidaddProperty(String key, String value) Method addProperty.voidaddRepository(Repository repository) Method addRepository.clone()Method clone.Get the conditional logic which will automatically trigger the inclusion of this profile.Method getPluginRepositories.Method getProperties.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.voidsetPluginRepositories(List<Repository> pluginRepositories) Set the lists of the remote repositories for discovering plugins.voidsetProperties(Properties properties) Set extended configuration specific to this profile goes here.voidsetRepositories(List<Repository> repositories) Set the lists of the remote repositories.Methods inherited from class org.apache.maven.settings.IdentifiableBasegetId, setIdMethods inherited from class org.apache.maven.settings.TrackableBasegetSourceLevel, setSourceLevel
- 
Constructor Details- 
Profilepublic Profile()
 
- 
- 
Method Details- 
addPluginRepositoryMethod addPluginRepository.- Parameters:
- repository- a repository object.
 
- 
addPropertyMethod addProperty.- Parameters:
- key- a key object.
- value- a value object.
 
- 
addRepositoryMethod addRepository.- Parameters:
- repository- a repository object.
 
- 
cloneMethod clone.- Overrides:
- clonein class- IdentifiableBase
- Returns:
- Profile
 
- 
getActivationGet the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
 
- 
getPluginRepositoriesMethod getPluginRepositories.- Returns:
- List
 
- 
getPropertiesMethod getProperties.- Returns:
- Properties
 
- 
getRepositoriesMethod getRepositories.- Returns:
- List
 
- 
removePluginRepositoryMethod removePluginRepository.- Parameters:
- repository- a repository object.
 
- 
removeRepositoryMethod removeRepository.- Parameters:
- repository- a repository object.
 
- 
setActivationSet the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
- activation- a activation object.
 
- 
setPluginRepositoriesSet the lists of the remote repositories for discovering plugins.- Parameters:
- pluginRepositories- a pluginRepositories object.
 
- 
setPropertiesSet extended configuration specific to this profile goes here. Contents take the form of<property.name>property.value</property.name>- Parameters:
- properties- a properties object.
 
- 
setRepositoriesSet the lists of the remote repositories.- Parameters:
- repositories- a repositories object.
 
 
-