Searched refs:loadedClass (Results 1 – 3 of 3) sorted by relevance
52 Class<?> loadedClass = null; in HealthRunnerBuilder() local54 loadedClass = HealthRunnerBuilder.class.getClassLoader().loadClass(runnerName); in HealthRunnerBuilder()61 if (loadedClass != null && Runner.class.isAssignableFrom(loadedClass)) { in HealthRunnerBuilder()62 mRunnerClass = loadedClass; in HealthRunnerBuilder()64 throw new RuntimeException(String.format("Class %s is not a runner.", loadedClass)); in HealthRunnerBuilder()
126 Class<?> loadedClass = null; in loadRuleByFullyQualifiedName() local128 loadedClass = DynamicRuleChain.class.getClassLoader().loadClass(name); in loadRuleByFullyQualifiedName()134 if (loadedClass == null || (!TestRule.class.isAssignableFrom(loadedClass))) { in loadRuleByFullyQualifiedName()136 String.format("Class %s is not a TestRule.", loadedClass)); in loadRuleByFullyQualifiedName()141 Constructor<?> constructor = loadedClass.getConstructor(); in loadRuleByFullyQualifiedName()148 loadedClass), in loadRuleByFullyQualifiedName()
170 Class<?> loadedClass = null; in loadListenerByFullyQualifiedName() local172 loadedClass = TestMetricRule.class.getClassLoader().loadClass(name); in loadListenerByFullyQualifiedName()178 if (loadedClass == null || (!BaseMetricListener.class.isAssignableFrom(loadedClass))) { in loadListenerByFullyQualifiedName()180 String.format("Class %s is not a BaseMetricListener.", loadedClass)); in loadListenerByFullyQualifiedName()184 Constructor<?> constructor = loadedClass.getConstructor(); in loadListenerByFullyQualifiedName()191 loadedClass), in loadListenerByFullyQualifiedName()