public interface FinerActivator
| Modifier and Type | Method and Description |
|---|---|
String |
getSupportedActivatorBracketName()
Get the String to match the name withing the brackets of the magic property name.
|
boolean |
isActive(String name,
org.apache.maven.model.ActivationProperty property,
org.apache.maven.model.Profile profile,
org.apache.maven.model.profile.ProfileActivationContext context,
org.apache.maven.model.building.ModelProblemCollector problems)
Tests the activator to determine whether its result is truthy.
|
String getSupportedActivatorBracketName()
<property><name> is [FINER.ACTIVATOR.REGEX]os.name,
the activator whose activator bracket value matches "FINER.ACTIVATOR.REGEX" will be chosen.boolean isActive(String name, org.apache.maven.model.ActivationProperty property, org.apache.maven.model.Profile profile, org.apache.maven.model.profile.ProfileActivationContext context, org.apache.maven.model.building.ModelProblemCollector problems)
name - The name of the property with the brackets ([FINER.ACTIVATOR.*]) removedproperty - The property objectprofile - The profilecontext - The activation contextproblems - A collector of problemsCopyright © 2023 OddSource Code. All rights reserved.