@Label(value="ProfileActivation") public interface MavenProfileActivationDescriptor extends MavenDescriptor
Activation
Modifier and Type | Method and Description |
---|---|
MavenActivationFileDescriptor |
getActivationFile()
Get specifies that this profile will be activated based on existence of a
file.
|
MavenActivationOSDescriptor |
getActivationOS()
Get specifies that this profile will be activated when matching operating
system attributes are detected.
|
String |
getJdk()
Get specifies that this profile will be activated when a matching JDK is
detected.
|
com.buschmais.jqassistant.plugin.common.api.model.PropertyDescriptor |
getProperty()
Get specifies that this profile will be activated when this system
property is specified.
|
boolean |
isActiveByDefault()
Get if set to true, this profile will be active unless another profile in
this pom is activated using the command line -P option or by one of that
profile's activators.
|
void |
setActivationFile(MavenActivationFileDescriptor activationFile) |
void |
setActivationOS(MavenActivationOSDescriptor activationOS) |
void |
setActiveByDefault(boolean activeByDefault) |
void |
setJdk(String jdk) |
void |
setProperty(com.buschmais.jqassistant.plugin.common.api.model.PropertyDescriptor propertyDescriptor) |
@Property(value="activeByDefault") boolean isActiveByDefault()
void setActiveByDefault(boolean activeByDefault)
@Property(value="jdk") String getJdk()
1.4
only activates on JDKs versioned
1.4, while !1.4
matches any JDK that is not version 1.4.void setJdk(String jdk)
@Relation(value="ACTIVATED_BY_FILE") MavenActivationFileDescriptor getActivationFile()
void setActivationFile(MavenActivationFileDescriptor activationFile)
@Relation(value="ACTIVATED_BY_OS") MavenActivationOSDescriptor getActivationOS()
void setActivationOS(MavenActivationOSDescriptor activationOS)
@Relation(value="HAS_PROPERTY") com.buschmais.jqassistant.plugin.common.api.model.PropertyDescriptor getProperty()
void setProperty(com.buschmais.jqassistant.plugin.common.api.model.PropertyDescriptor propertyDescriptor)
Copyright © 2016 buschmais GbR. All rights reserved.