|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.profiles.ProfilesRoot
public class ProfilesRoot
Root element of the profiles.xml file.
| Constructor Summary | |
|---|---|
ProfilesRoot()
|
|
| Method Summary | |
|---|---|
void |
addActiveProfile(String string)
Method addActiveProfile. |
void |
addProfile(Profile profile)
Method addProfile. |
List |
getActiveProfiles()
Method getActiveProfiles. |
String |
getModelEncoding()
|
List |
getProfiles()
Method getProfiles. |
void |
removeActiveProfile(String string)
Method removeActiveProfile. |
void |
removeProfile(Profile profile)
Method removeProfile. |
void |
setActiveProfiles(List activeProfiles)
Set List of manually-activated build profiles, specified in the order in which they should be applied. |
void |
setModelEncoding(String modelEncoding)
Set an encoding used for reading/writing the model. |
void |
setProfiles(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 |
|---|
public ProfilesRoot()
| Method Detail |
|---|
public void addActiveProfile(String string)
string - public void addProfile(Profile profile)
profile - public List getActiveProfiles()
public List getProfiles()
public void removeActiveProfile(String string)
string - public void removeProfile(Profile profile)
profile - public void setActiveProfiles(List activeProfiles)
activeProfiles - public void setProfiles(List profiles)
profiles - public void setModelEncoding(String modelEncoding)
modelEncoding - the encoding used when reading/writing the model.public String getModelEncoding()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||