Skip to content

BooleanManager

Larrox edited this page Aug 28, 2025 · 5 revisions

Note

BooleanManager was added in DEV-BUILD-1.0.0

With the BooleanManager you can Check True/False States of LarroxUtilsAPI.

Booleans in BoolenManager

Until a Release is out, refer to your TabCompleter.

Examples

EXAMPLE (with System#println)

    public static void printBuildInfo() {
        // Checking if its the Dev-Build
        if (isDevBuild) {
            System.out.println("πŸ’» Running LarroxUtilsAPI Dev!");
        }
        // Check if its the Release Build
        if (isReleaseBuild) {
            System.out.println("πŸš€ Running LarroxUtilsAPI Release!");
        }
        // You probably dont need it, except you are me (Larrox).
        if (isLarroxBuild) {
            System.out.println("πŸ”§ Running LarroxUtilsAPI LarroxDev!");
        }
    }

EXAMPLE 2 (with LarroxUtilAPI's Logger)

import dev.larrox.Logger;

    public static void printBuildInfo() {
        // Checking if its the Dev-Build
        if (isDevBuild) {
            Logger.info("πŸ’» Running LarroxUtilsAPI Dev!");
        }
        // Check if its the Release Build
        if (isReleaseBuild) {
            Logger.info("πŸš€ Running LarroxUtilsAPI Release!");
        }
        // You probably dont need it, except you are me (Larrox).
        if (isLarroxBuild) {
            Logger.info("πŸ”§ Running LarroxUtilsAPI LarroxDev!");
        }
    }

Clone this wiki locally