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

org.testng.internal.IConfiguration Maven / Gradle / Ivy

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy