|
||||||||||
| 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<String> |
getActiveProfiles()
Method getActiveProfiles. |
String |
getModelEncoding()
Method getModelEncoding. |
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 an encoding used for reading/writing the model. |
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 |
|---|
public ProfilesRoot()
| Method Detail |
|---|
public void addActiveProfile(String string)
string - public void addProfile(Profile profile)
profile - public List<String> getActiveProfiles()
public String getModelEncoding()
public List<Profile> getProfiles()
public void removeActiveProfile(String string)
string - public void removeProfile(Profile profile)
profile - public void setActiveProfiles(List<String> activeProfiles)
activeProfiles - public void setModelEncoding(String modelEncoding)
modelEncoding - public void setProfiles(List<Profile> profiles)
profiles -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||