private int getGlobal()

in src/main/java/org/apache/maven/plugins/invoker/Selector.java [92:111]


    private int getGlobal(InvokerProperties invokerProperties) {
        int selection = 0;
        if (!SelectorUtils.isMavenVersion(invokerProperties.getMavenVersion(), actualMavenVersion)) {
            selection |= SELECTOR_MAVENVERSION;
        }

        if (!SelectorUtils.isJreVersion(invokerProperties.getJreVersion(), actualJavaVersion)) {
            selection |= SELECTOR_JREVERSION;
        }

        if (!SelectorUtils.isOsFamily(invokerProperties.getOsFamily())) {
            selection |= SELECTOR_OSFAMILY;
        }

        if (!SelectorUtils.isToolchain(toolchainPrivateManager, invokerProperties.getToolchains())) {
            selection |= SELECTOR_TOOLCHAIN;
        }

        return selection;
    }