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 Summary
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL -
Constructor Summary
Constructors -
Method Summary
Modifier 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.IdentifiableBase
getId, setIdMethods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
-
Constructor Details
-
Profile
public Profile()
-
-
Method Details
-
addPluginRepository
Method addPluginRepository.- Parameters:
repository- a repository object.
-
addProperty
Method addProperty.- Parameters:
key- a key object.value- a value object.
-
addRepository
Method addRepository.- Parameters:
repository- a repository object.
-
clone
Method clone.- Overrides:
clonein classIdentifiableBase- Returns:
- Profile
-
getActivation
Get the conditional logic which will automatically trigger the inclusion of this profile.- Returns:
- Activation
-
getPluginRepositories
Method getPluginRepositories.- Returns:
- List
-
getProperties
Method getProperties.- Returns:
- Properties
-
getRepositories
Method getRepositories.- Returns:
- List
-
removePluginRepository
Method removePluginRepository.- Parameters:
repository- a repository object.
-
removeRepository
Method removeRepository.- Parameters:
repository- a repository object.
-
setActivation
Set the conditional logic which will automatically trigger the inclusion of this profile.- Parameters:
activation- a activation object.
-
setPluginRepositories
Set the lists of the remote repositories for discovering plugins.- Parameters:
pluginRepositories- a pluginRepositories object.
-
setProperties
Set extended configuration specific to this profile goes here. Contents take the form of<property.name>property.value</property.name>- Parameters:
properties- a properties object.
-
setRepositories
Set the lists of the remote repositories.- Parameters:
repositories- a repositories object.
-