|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.profiles.Activation
public class Activation
The conditions within the build runtime environment which will trigger the automatic inclusion of the parent build profile.
| Constructor Summary | |
|---|---|
Activation()
|
|
| Method Summary | |
|---|---|
ActivationFile |
getFile()
Get specifies that this profile will be activated based on existence of a file. |
String |
getJdk()
Get specifies that this profile will be activated when a matching JDK is detected. |
ActivationOS |
getOs()
Get specifies that this profile will be activated when matching OS attributes are detected. |
ActivationProperty |
getProperty()
Get specifies that this profile will be activated when this System property is specified. |
boolean |
isActiveByDefault()
Get flag specifying whether this profile is active as a default. |
void |
setActiveByDefault(boolean activeByDefault)
Set flag specifying whether this profile is active as a default. |
void |
setFile(ActivationFile file)
Set specifies that this profile will be activated based on existence of a file. |
void |
setJdk(String jdk)
Set specifies that this profile will be activated when a matching JDK is detected. |
void |
setOs(ActivationOS os)
Set specifies that this profile will be activated when matching OS attributes are detected. |
void |
setProperty(ActivationProperty property)
Set specifies that this profile will be activated when this System property is specified. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Activation()
| Method Detail |
|---|
public ActivationFile getFile()
public String getJdk()
public ActivationOS getOs()
public ActivationProperty getProperty()
public boolean isActiveByDefault()
public void setActiveByDefault(boolean activeByDefault)
activeByDefault - public void setFile(ActivationFile file)
file - public void setJdk(String jdk)
jdk - public void setOs(ActivationOS os)
os - public void setProperty(ActivationProperty property)
property -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||