at.willhaben.willtest.util.RemoteSelectionUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
Core classes with as few dependencies as possible
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