All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.yawp.commons.utils.Environment Maven / Gradle / Ivy

There is a newer version: 2.08alpha
Show newest version
package io.yawp.commons.utils;

import io.yawp.driver.api.DriverFactory;
import io.yawp.driver.api.EnvironmentDriver;

public class Environment {

	public static boolean isProduction() {
		return environment().isProduction();
	}

	public static boolean isDevelopment() {
		return environment().isDevelopment();
	}

	public static boolean isTest() {
		return environment().isTest();
	}

	private static EnvironmentDriver environment() {
		return DriverFactory.getDriver().environment();
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy