public class Activation
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
private boolean |
activeByDefault
Flag specifying whether this profile is active as a default.
|
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 OS attributes are detected.
|
private ActivationProperty |
property
Specifies that this profile will be activated
when this property is specified.
|
Constructor and Description |
---|
Activation() |
Modifier and Type | Method and Description |
---|---|
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 OS attributes are detected.
|
ActivationProperty |
getProperty()
Get specifies that this profile will be activated when this
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(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 OS attributes are detected.
|
void |
setProperty(ActivationProperty property)
Set specifies that this profile will be activated when this
property is specified.
|
private boolean activeByDefault
private java.lang.String jdk
private ActivationOS os
private ActivationProperty property
private ActivationFile file
public ActivationFile getFile()
public java.lang.String getJdk()
public ActivationOS getOs()
public ActivationProperty getProperty()
public boolean isActiveByDefault()
public void setActiveByDefault(boolean activeByDefault)
activeByDefault
- a activeByDefault object.public void setFile(ActivationFile file)
file
- a file object.public void setJdk(java.lang.String jdk)
jdk
- a jdk object.public void setOs(ActivationOS os)
os
- a os object.public void setProperty(ActivationProperty property)
property
- a property object.