public class FluentActivationBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
FluentActivationBuilder |
activeByDefault()
Make this profile active as by default.
|
org.apache.maven.settings.Activation |
build() |
static FluentActivationBuilder |
newActivation()
The conditions within the build runtime environment
which will trigger
the automatic inclusion of the parent build profile.
|
FluentActivationBuilder |
withFile(org.apache.maven.settings.ActivationFile file)
Specifies that this profile will be activated based on
existence of a file.
|
FluentActivationBuilder |
withJdk(java.lang.String jdk)
Specifies that this profile will be activated when a
matching JDK is detected.
|
FluentActivationBuilder |
withOs(org.apache.maven.settings.ActivationOS os)
Specifies that this profile will be activated when
matching OS attributes are detected.
|
FluentActivationBuilder |
withOs(FluentActivationOSBuilder os)
Specifies that this profile will be activated when
matching OS attributes are detected.
|
FluentActivationBuilder |
withProperty(org.apache.maven.settings.ActivationProperty property)
Specifies that this profile will be activated when this
System property is specified.
|
FluentActivationBuilder |
withProperty(java.lang.String name,
java.lang.String value)
Specifies that this profile will be activated when this
System property is specified.
|
public org.apache.maven.settings.Activation build()
public static FluentActivationBuilder newActivation()
public FluentActivationBuilder activeByDefault()
public FluentActivationBuilder withFile(org.apache.maven.settings.ActivationFile file)
file - public FluentActivationBuilder withJdk(java.lang.String jdk)
jdk - public FluentActivationBuilder withOs(FluentActivationOSBuilder os)
os - public FluentActivationBuilder withOs(org.apache.maven.settings.ActivationOS os)
os - public FluentActivationBuilder withProperty(java.lang.String name, java.lang.String value)
name - value - public FluentActivationBuilder withProperty(org.apache.maven.settings.ActivationProperty property)
property - Copyright © 2014 Yandex. All Rights Reserved.