public class Activation extends Object implements Serializable, Cloneable
Constructor and Description |
---|
Activation() |
Modifier and Type | Method and Description |
---|---|
Activation |
clone()
Method clone.
|
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.
|
public Activation()
public Activation clone()
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
- Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.