org.apache.maven.profiles
Class Profile

java.lang.Object
  extended by org.apache.maven.profiles.Profile
All Implemented Interfaces:
Serializable

public class Profile
extends Object
implements Serializable

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

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

Constructor Summary
Profile()
           
 
Method Summary
 void addPluginRepository(Repository repository)
          Method addPluginRepository.
 void addProperty(String key, 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.
 String getId()
          Get the ID of this build profile, for activation purposes.
 String getModelEncoding()
           
 List getPluginRepositories()
          Method getPluginRepositories.
 Properties getProperties()
          Method getProperties.
 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 setId(String id)
          Set the ID of this build profile, for activation purposes.
 void setModelEncoding(String modelEncoding)
          Set an encoding used for reading/writing the model.
 void setPluginRepositories(List pluginRepositories)
          Set The lists of the remote repositories for discovering plugins .
 void setProperties(Properties properties)
          Set extended configuration specific to this profile goes here.
 void setRepositories(List repositories)
          Set the lists of the remote repositories .
 
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(String key,
                        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.

Returns:
Activation

getId

public String getId()
Get the ID of this build profile, for activation purposes.

Returns:
String

getPluginRepositories

public List getPluginRepositories()
Method getPluginRepositories.

Returns:
java.util.List

getProperties

public Properties getProperties()
Method getProperties.

Returns:
java.util.Properties

getRepositories

public List getRepositories()
Method getRepositories.

Returns:
java.util.List

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 -

setId

public void setId(String id)
Set the ID of this build profile, for activation purposes.

Parameters:
id -

setPluginRepositories

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

Parameters:
pluginRepositories -

setProperties

public void setProperties(Properties properties)
Set extended configuration specific to this profile goes here.

Parameters:
properties -

setRepositories

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

Parameters:
repositories -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model.

Parameters:
modelEncoding - the encoding used when reading/writing the model.

getModelEncoding

public String getModelEncoding()
Returns:
the current encoding used when reading/writing this model.


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.