public class Activation extends Object implements Serializable
Constructor and Description |
---|
Activation() |
Modifier and Type | Method and Description |
---|---|
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.
|
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(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.
|
public ActivationCustom getCustom()
public ActivationFile getFile()
public 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(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
- Copyright © 2001-2013 The Apache Software Foundation. All Rights Reserved.