Package org.apache.maven.profiles
Class ProfilesRoot
java.lang.Object
org.apache.maven.profiles.ProfilesRoot
- All Implemented Interfaces:
- Serializable
Root element of the profiles.xml file.
- Version:
- $Revision$ $Date$
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddActiveProfile(String string) Method addActiveProfile.voidaddProfile(Profile profile) Method addProfile.Method getActiveProfiles.Get the modelEncoding field.Method getProfiles.voidremoveActiveProfile(String string) Method removeActiveProfile.voidremoveProfile(Profile profile) Method removeProfile.voidsetActiveProfiles(List<String> activeProfiles) Set list of manually-activated build profiles, specified in the order in which they should be applied.voidsetModelEncoding(String modelEncoding) Set the modelEncoding field.voidsetProfiles(List<Profile> profiles) Set configuration of build profiles for adjusting the build according to environmental parameters.
- 
Constructor Details- 
ProfilesRootpublic ProfilesRoot()
 
- 
- 
Method Details- 
addActiveProfileMethod addActiveProfile.- Parameters:
- string- a string object.
 
- 
addProfileMethod addProfile.- Parameters:
- profile- a profile object.
 
- 
getActiveProfilesMethod getActiveProfiles.- Returns:
- List
 
- 
getModelEncodingGet the modelEncoding field.- Returns:
- String
 
- 
getProfilesMethod getProfiles.- Returns:
- List
 
- 
removeActiveProfileMethod removeActiveProfile.- Parameters:
- string- a string object.
 
- 
removeProfileMethod removeProfile.- Parameters:
- profile- a profile object.
 
- 
setActiveProfilesSet list of manually-activated build profiles, specified in the order in which they should be applied.- Parameters:
- activeProfiles- a activeProfiles object.
 
- 
setModelEncodingSet the modelEncoding field.- Parameters:
- modelEncoding- a modelEncoding object.
 
- 
setProfilesSet configuration of build profiles for adjusting the build according to environmental parameters.- Parameters:
- profiles- a profiles object.
 
 
-