org.apache.maven.profiles
Class ProfilesRoot

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

public class ProfilesRoot
extends Object
implements Serializable

Root element of the profiles.xml file.

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

Constructor Summary
ProfilesRoot()
           
 
Method Summary
 void addActiveProfile(String string)
          Method addActiveProfile.
 void addProfile(Profile profile)
          Method addProfile.
 List<String> getActiveProfiles()
          Method getActiveProfiles.
 String getModelEncoding()
          Get the modelEncoding field.
 List<Profile> getProfiles()
          Method getProfiles.
 void removeActiveProfile(String string)
          Method removeActiveProfile.
 void removeProfile(Profile profile)
          Method removeProfile.
 void setActiveProfiles(List<String> activeProfiles)
          Set list of manually-activated build profiles, specified in the order in which they should be applied.
 void setModelEncoding(String modelEncoding)
          Set the modelEncoding field.
 void setProfiles(List<Profile> 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(String string)
Method addActiveProfile.

Parameters:
string -

addProfile

public void addProfile(Profile profile)
Method addProfile.

Parameters:
profile -

getActiveProfiles

public List<String> getActiveProfiles()
Method getActiveProfiles.

Returns:
List

getModelEncoding

public String getModelEncoding()
Get the modelEncoding field.

Returns:
String

getProfiles

public List<Profile> getProfiles()
Method getProfiles.

Returns:
List

removeActiveProfile

public void removeActiveProfile(String string)
Method removeActiveProfile.

Parameters:
string -

removeProfile

public void removeProfile(Profile profile)
Method removeProfile.

Parameters:
profile -

setActiveProfiles

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

Parameters:
activeProfiles -

setModelEncoding

public void setModelEncoding(String modelEncoding)
Set the modelEncoding field.

Parameters:
modelEncoding -

setProfiles

public void setProfiles(List<Profile> profiles)
Set configuration of build profiles for adjusting the build according to environmental parameters.

Parameters:
profiles -


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