|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.model.Activation
public class Activation
The conditions within the build runtime environment which will trigger the automatic inclusion of the build profile.
Field Summary | |
---|---|
private boolean |
activeByDefault
Flag specifying whether this profile is active by default. |
private ActivationCustom |
custom
Describes a custom profile activation trigger, brought in via build extension. |
private ActivationFile |
file
Specifies that this profile will be activated based on existence of a file. |
private java.lang.String |
jdk
Specifies that this profile will be activated when a matching JDK is detected. |
private ActivationOS |
os
Specifies that this profile will be activated when matching operating system attributes are detected. |
private ActivationProperty |
property
Specifies that this profile will be activated when this system property is specified. |
Constructor Summary | |
---|---|
Activation()
|
Method Summary | |
---|---|
ActivationCustom |
getCustom()
Get describes a custom profile activation trigger, brought in via build extension. |
ActivationFile |
getFile()
Get specifies that this profile will be activated based on existence of a file. |
java.lang.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 operating system 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 by default. |
void |
setActiveByDefault(boolean activeByDefault)
Set flag specifying whether this profile is active by default. |
void |
setCustom(ActivationCustom custom)
Set describes a custom profile activation trigger, brought in via build extension. |
void |
setFile(ActivationFile file)
Set specifies that this profile will be activated based on existence of a file. |
void |
setJdk(java.lang.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 operating system 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 |
Field Detail |
---|
private boolean activeByDefault
private java.lang.String jdk
1.4
only activates on JDKs versioned 1.4, while
!1.4
matches any JDK that is not version 1.4.
private ActivationOS os
private ActivationProperty property
private ActivationFile file
private ActivationCustom custom
Constructor Detail |
---|
public Activation()
Method Detail |
---|
public ActivationCustom getCustom()
public ActivationFile getFile()
public java.lang.String getJdk()
1.4
only activates on JDKs versioned 1.4, while
!1.4
matches any JDK that is not version 1.4.
public ActivationOS getOs()
public ActivationProperty getProperty()
public boolean isActiveByDefault()
public void setActiveByDefault(boolean activeByDefault)
activeByDefault
- public void setCustom(ActivationCustom custom)
custom
- public void setFile(ActivationFile file)
file
- public void setJdk(java.lang.String jdk)
1.4
only activates on JDKs versioned 1.4, while
!1.4
matches any JDK that is not version 1.4.
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 |