org.apache.maven.settings
Class Profile

java.lang.Object
  extended by org.apache.maven.settings.TrackableBase
      extended by org.apache.maven.settings.IdentifiableBase
          extended by org.apache.maven.settings.Profile
All Implemented Interfaces:
java.io.Serializable

public class Profile
extends IdentifiableBase
implements java.io.Serializable

Modifications to the build process which is keyed on some sort of environmental parameter.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.maven.settings.TrackableBase
GLOBAL_LEVEL, USER_LEVEL
 
Constructor Summary
Profile()
           
 
Method Summary
 void addPluginRepository(Repository repository)
          Method addPluginRepository
 void addProperty(java.lang.String key, java.lang.String value)
          Method addProperty
 void addRepository(Repository repository)
          Method addRepository
 Activation getActivation()
          Get The conditional logic which will automatically trigger the inclusion of this profile.
 java.lang.String getModelEncoding()
           
 java.util.List getPluginRepositories()
          Method getPluginRepositories
 java.util.Properties getProperties()
          Method getProperties
 java.util.List getRepositories()
          Method getRepositories
 void removePluginRepository(Repository repository)
          Method removePluginRepository
 void removeRepository(Repository repository)
          Method removeRepository
 void setActivation(Activation activation)
          Set The conditional logic which will automatically trigger the inclusion of this profile.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setPluginRepositories(java.util.List pluginRepositories)
          Set The lists of the remote repositories for discovering plugins.
 void setProperties(java.util.Properties properties)
          Set Extended configuration specific to this profile goes here.
 void setRepositories(java.util.List repositories)
          Set The lists of the remote repositories.
 
Methods inherited from class org.apache.maven.settings.IdentifiableBase
getId, setId
 
Methods inherited from class org.apache.maven.settings.TrackableBase
getSourceLevel, setSourceLevel
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Profile

public Profile()
Method Detail

addPluginRepository

public void addPluginRepository(Repository repository)
Method addPluginRepository

Parameters:
repository -

addProperty

public void addProperty(java.lang.String key,
                        java.lang.String value)
Method addProperty

Parameters:
key -
value -

addRepository

public void addRepository(Repository repository)
Method addRepository

Parameters:
repository -

getActivation

public Activation getActivation()
Get The conditional logic which will automatically trigger the inclusion of this profile.


getPluginRepositories

public java.util.List getPluginRepositories()
Method getPluginRepositories


getProperties

public java.util.Properties getProperties()
Method getProperties


getRepositories

public java.util.List getRepositories()
Method getRepositories


removePluginRepository

public void removePluginRepository(Repository repository)
Method removePluginRepository

Parameters:
repository -

removeRepository

public void removeRepository(Repository repository)
Method removeRepository

Parameters:
repository -

setActivation

public void setActivation(Activation activation)
Set The conditional logic which will automatically trigger the inclusion of this profile.

Parameters:
activation -

setPluginRepositories

public void setPluginRepositories(java.util.List pluginRepositories)
Set The lists of the remote repositories for discovering plugins.

Parameters:
pluginRepositories -

setProperties

public void setProperties(java.util.Properties properties)
Set Extended configuration specific to this profile goes here. Contents take the form of property.value

Parameters:
properties -

setRepositories

public void setRepositories(java.util.List repositories)
Set The lists of the remote repositories.

Parameters:
repositories -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)
Overrides:
setModelEncoding in class IdentifiableBase

getModelEncoding

public java.lang.String getModelEncoding()
Overrides:
getModelEncoding in class IdentifiableBase


Copyright © 2001-2009 Apache Software Foundation. All Rights Reserved.