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

gw.testharness.environmentalcondition.WindowsOSCondition Maven / Gradle / Ivy

There is a newer version: 1.18.2
Show newest version
/*
 * Copyright 2014 Guidewire Software, Inc.
 */

package gw.testharness.environmentalcondition;

import gw.testharness.IEnvironmentalCondition;

public class WindowsOSCondition implements IEnvironmentalCondition {
  @Override
  public boolean isConditionMet() {
    String osName = System.getProperty("os.name");
    return osName != null && osName.toLowerCase().contains("win");
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy