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

at.willhaben.willtest.util.RemoteSelectionUtils Maven / Gradle / Ivy

There is a newer version: 3.1.10
Show newest version
package at.willhaben.willtest.util;

public class RemoteSelectionUtils {

    private static final String DEFAULT_REMOTE = "";
    private static final boolean REMOTE = true;

    public static Boolean getRemoteIsSet() {
        return Boolean.valueOf(Environment.getValue("remote", DEFAULT_REMOTE));
    }

    public static boolean isRemote() {
        return getRemoteIsSet().equals(REMOTE);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy