org.testng.internal.IConfiguration Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of testng Show documentation
Show all versions of testng Show documentation
Testing framework for Java
package org.testng.internal;
import org.testng.*;
import org.testng.internal.annotations.IAnnotationFinder;
import java.util.List;
import org.testng.thread.IExecutorFactory;
public interface IConfiguration {
IAnnotationFinder getAnnotationFinder();
void setAnnotationFinder(IAnnotationFinder finder);
ITestObjectFactory getObjectFactory();
void setObjectFactory(ITestObjectFactory m_objectFactory);
IHookable getHookable();
void setHookable(IHookable h);
IConfigurable getConfigurable();
void setConfigurable(IConfigurable c);
List getExecutionListeners();
default void addExecutionListener(IExecutionListener l) {}
default boolean addExecutionListenerIfAbsent(IExecutionListener l) {
return false;
}
List getConfigurationListeners();
void addConfigurationListener(IConfigurationListener cl);
boolean alwaysRunListeners();
void setAlwaysRunListeners(boolean alwaysRun);
void setExecutorFactory(IExecutorFactory factory);
IExecutorFactory getExecutorFactory();
}