1 package org.testng.internal; 2 3 import org.testng.*; 4 import org.testng.internal.annotations.IAnnotationFinder; 5 6 import java.util.List; 7 8 public interface IConfiguration { getAnnotationFinder()9 IAnnotationFinder getAnnotationFinder(); setAnnotationFinder(IAnnotationFinder finder)10 void setAnnotationFinder(IAnnotationFinder finder); 11 getObjectFactory()12 ITestObjectFactory getObjectFactory(); setObjectFactory(ITestObjectFactory m_objectFactory)13 void setObjectFactory(ITestObjectFactory m_objectFactory); 14 getHookable()15 IHookable getHookable(); setHookable(IHookable h)16 void setHookable(IHookable h); 17 getConfigurable()18 IConfigurable getConfigurable(); setConfigurable(IConfigurable c)19 void setConfigurable(IConfigurable c); 20 getExecutionListeners()21 List<IExecutionListener> getExecutionListeners(); addExecutionListener(IExecutionListener l)22 void addExecutionListener(IExecutionListener l); 23 getConfigurationListeners()24 List<IConfigurationListener> getConfigurationListeners(); addConfigurationListener(IConfigurationListener cl)25 void addConfigurationListener(IConfigurationListener cl); 26 getAlterSuiteListeners()27 List<IAlterSuiteListener> getAlterSuiteListeners(); 28 } 29