org.apache.maven.profiles
Class ProfilesRoot

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

public class ProfilesRoot
extends java.lang.Object
implements java.io.Serializable

Root element of the profiles.xml file.

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

Constructor Summary
ProfilesRoot()
           
 
Method Summary
 void addActiveProfile(java.lang.String string)
          Method addActiveProfile
 void addProfile(Profile profile)
          Method addProfile
 java.util.List getActiveProfiles()
          Method getActiveProfiles
 java.lang.String getModelEncoding()
           
 java.util.List getProfiles()
          Method getProfiles
 void removeActiveProfile(java.lang.String string)
          Method removeActiveProfile
 void removeProfile(Profile profile)
          Method removeProfile
 void setActiveProfiles(java.util.List activeProfiles)
          Set List of manually-activated build profiles, specified in the order in which they should be applied.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setProfiles(java.util.List profiles)
          Set Configuration of build profiles for adjusting the build according to environmental parameters
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProfilesRoot

public ProfilesRoot()
Method Detail

addActiveProfile

public void addActiveProfile(java.lang.String string)
Method addActiveProfile

Parameters:
string -

addProfile

public void addProfile(Profile profile)
Method addProfile

Parameters:
profile -

getActiveProfiles

public java.util.List getActiveProfiles()
Method getActiveProfiles


getProfiles

public java.util.List getProfiles()
Method getProfiles


removeActiveProfile

public void removeActiveProfile(java.lang.String string)
Method removeActiveProfile

Parameters:
string -

removeProfile

public void removeProfile(Profile profile)
Method removeProfile

Parameters:
profile -

setActiveProfiles

public void setActiveProfiles(java.util.List activeProfiles)
Set List of manually-activated build profiles, specified in the order in which they should be applied.

Parameters:
activeProfiles -

setProfiles

public void setProfiles(java.util.List profiles)
Set Configuration of build profiles for adjusting the build according to environmental parameters

Parameters:
profiles -

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


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