gw.testharness.environmentalcondition.JRockitVMCondition Maven / Gradle / Ivy
/*
* Copyright 2014 Guidewire Software, Inc.
*/
package gw.testharness.environmentalcondition;
import gw.testharness.IEnvironmentalCondition;
public class JRockitVMCondition implements IEnvironmentalCondition {
@Override
public boolean isConditionMet() {
String vmName = System.getProperty("java.vm.name");
return vmName != null && vmName.toLowerCase().contains("jrockit");
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy