Class Profile

All Implemented Interfaces:
Serializable, Cloneable

public class Profile extends IdentifiableBase implements Serializable, Cloneable
Modifications to the build process which is keyed on some sort of environmental parameter.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • Profile

      public Profile()
  • Method Details

    • addPluginRepository

      public void addPluginRepository(Repository repository)
      Method addPluginRepository.
      Parameters:
      repository - a repository object.
    • addProperty

      public void addProperty(String key, 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.
    • clone

      public Profile clone()
      Method clone.
      Overrides:
      clone in class IdentifiableBase
      Returns:
      Profile
    • getActivation

      public Activation getActivation()
      Get the conditional logic which will automatically trigger the inclusion of this profile.
      Returns:
      Activation
    • getPluginRepositories

      public List<Repository> getPluginRepositories()
      Method getPluginRepositories.
      Returns:
      List
    • getProperties

      public Properties getProperties()
      Method getProperties.
      Returns:
      Properties
    • getRepositories

      public 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.
    • setPluginRepositories

      public void setPluginRepositories(List<Repository> pluginRepositories)
      Set the lists of the remote repositories for discovering plugins.
      Parameters:
      pluginRepositories - a pluginRepositories object.
    • setProperties

      public void setProperties(Properties properties)
      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

      public void setRepositories(List<Repository> repositories)
      Set the lists of the remote repositories.
      Parameters:
      repositories - a repositories object.