Package org.testng.internal
Class ConfigurationGroupMethods
- java.lang.Object
-
- org.testng.internal.ConfigurationGroupMethods
-
public class ConfigurationGroupMethods extends java.lang.Object
This class wraps access to beforeGroups and afterGroups methods, since they are passed around the various invokers and potentially modified in different threads.- Since:
- 5.3 (Mar 2, 2006)
-
-
Constructor Summary
Constructors Constructor Description ConfigurationGroupMethods(IContainer<ITestNGMethod> container, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> beforeGroupsMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> afterGroupsMethods)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ITestNGMethod>
getAfterGroupMethods(ITestNGMethod testMethod)
java.util.Map<java.lang.String,java.util.List<ITestNGMethod>>
getAfterGroupsMethods()
java.util.List<ITestNGMethod>
getBeforeGroupMethodsForGroup(java.lang.String[] groups)
java.util.Map<java.lang.String,java.util.List<ITestNGMethod>>
getBeforeGroupsMethods()
void
removeAfterGroups(java.util.Collection<java.lang.String> groups)
void
removeBeforeGroups(java.lang.String[] groups)
-
-
-
Constructor Detail
-
ConfigurationGroupMethods
public ConfigurationGroupMethods(IContainer<ITestNGMethod> container, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> beforeGroupsMethods, java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> afterGroupsMethods)
-
-
Method Detail
-
getBeforeGroupsMethods
public java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> getBeforeGroupsMethods()
-
getAfterGroupsMethods
public java.util.Map<java.lang.String,java.util.List<ITestNGMethod>> getAfterGroupsMethods()
-
getBeforeGroupMethodsForGroup
public java.util.List<ITestNGMethod> getBeforeGroupMethodsForGroup(java.lang.String[] groups)
-
getAfterGroupMethods
public java.util.List<ITestNGMethod> getAfterGroupMethods(ITestNGMethod testMethod)
-
removeBeforeGroups
public void removeBeforeGroups(java.lang.String[] groups)
-
removeAfterGroups
public void removeAfterGroups(java.util.Collection<java.lang.String> groups)
-
-