class Selector
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
actualJavaVersion |
private java.lang.String |
actualMavenVersion |
(package private) static int |
SELECTOR_JREVERSION |
(package private) static int |
SELECTOR_MAVENVERSION |
(package private) static int |
SELECTOR_MULTI |
(package private) static int |
SELECTOR_OSFAMILY |
(package private) static int |
SELECTOR_TOOLCHAIN |
private AbstractInvokerMojo.ToolchainPrivateManager |
toolchainPrivateManager |
Constructor and Description |
---|
Selector(java.lang.String actualMavenVersion,
java.lang.String actualJavaVersion,
AbstractInvokerMojo.ToolchainPrivateManager toolchainPrivateManager) |
Modifier and Type | Method and Description |
---|---|
private int |
getGlobal(InvokerProperties invokerProperties)
Determines whether selector conditions of the specified invoker properties match the current environment.
|
int |
getSelection(InvokerProperties invokerProperties) |
static final int SELECTOR_MAVENVERSION
static final int SELECTOR_JREVERSION
static final int SELECTOR_OSFAMILY
static final int SELECTOR_TOOLCHAIN
static final int SELECTOR_MULTI
private final java.lang.String actualMavenVersion
private final java.lang.String actualJavaVersion
private final AbstractInvokerMojo.ToolchainPrivateManager toolchainPrivateManager
Selector(java.lang.String actualMavenVersion, java.lang.String actualJavaVersion, AbstractInvokerMojo.ToolchainPrivateManager toolchainPrivateManager)
public int getSelection(InvokerProperties invokerProperties)
private int getGlobal(InvokerProperties invokerProperties)
invokerProperties
- The invoker properties to check, must not be null
.0
if the job corresponding to the properties should be run, otherwise a bitwise value
representing the reason why it should be skipped.