aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/org/testng/internal/IConfiguration.java
blob: 2791b0653eddaa1ccbf6fec9a451c4595e4466af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package org.testng.internal;

import org.testng.IConfigurable;
import org.testng.IConfigurationListener;
import org.testng.IExecutionListener;
import org.testng.IHookable;
import org.testng.ITestObjectFactory;
import org.testng.internal.annotations.IAnnotationFinder;

import java.util.List;

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<IExecutionListener> getExecutionListeners();
  void addExecutionListener(IExecutionListener l);

  List<IConfigurationListener> getConfigurationListeners();
  void addConfigurationListener(IConfigurationListener cl);
}