Top Inners Fields Constructors Methods
org.testng.internal.invokers

public Class TestMethodArguments

extends MethodArguments
Class Inheritance
Imports
java.util.Map, org.testng.ITestClass, .ITestNGMethod, org.testng.internal.ConfigurationGroupMethods

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
private final ITestNGMethod[]
private final ITestNGMethod[]
private final ConfigurationGroupMethods
private final int
private final ITestClass
Inherited from org.testng.internal.invokers.MethodArguments:
parameterValues

Constructor Summary

AccessConstructor and Description
private
TestMethodArguments(Object instance, ITestNGMethod tm, Object[] parameterValues, int parametersIndex, Map<String, String> params, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods)

Method Summary

Modifier and TypeMethod and Description
public ITestNGMethod[]
public ITestNGMethod[]
public ConfigurationGroupMethods
public int
public ITestClass
Inherited from org.testng.internal.invokers.MethodArguments:
getParameterValues

Field Detail

afterMethodsback to summary
private final ITestNGMethod[] afterMethods
beforeMethodsback to summary
private final ITestNGMethod[] beforeMethods
groupMethodsback to summary
private final ConfigurationGroupMethods groupMethods
parametersIndexback to summary
private final int parametersIndex
testClassback to summary
private final ITestClass testClass

Constructor Detail

TestMethodArgumentsback to summary
private TestMethodArguments(Object instance, ITestNGMethod tm, Object[] parameterValues, int parametersIndex, Map<String, String> params, ITestClass testClass, ITestNGMethod[] beforeMethods, ITestNGMethod[] afterMethods, ConfigurationGroupMethods groupMethods)

Method Detail

getAfterMethodsback to summary
public ITestNGMethod[] getAfterMethods()
getBeforeMethodsback to summary
public ITestNGMethod[] getBeforeMethods()
getGroupMethodsback to summary
public ConfigurationGroupMethods getGroupMethods()
getParametersIndexback to summary
public int getParametersIndex()
getTestClassback to summary
public ITestClass getTestClass()
org.testng.internal.invokers back to summary

public Class TestMethodArguments.Builder

extends Object
Class Inheritance

Field Summary

Modifier and TypeField and Description
private ITestNGMethod[]
private ITestNGMethod[]
private ConfigurationGroupMethods
private Object
private int
private Object[]
private Map<String, String>
private ITestClass
private ITestNGMethod

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public TestMethodArguments
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
public TestMethodArguments.Builder
withParametersIndex(int parametersIndex)

public TestMethodArguments.Builder
withParameterValues(Object[] parameterValues)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

afterMethodsback to summary
private ITestNGMethod[] afterMethods
beforeMethodsback to summary
private ITestNGMethod[] beforeMethods
groupMethodsback to summary
private ConfigurationGroupMethods groupMethods
instanceback to summary
private Object instance
parametersIndexback to summary
private int parametersIndex
parameterValuesback to summary
private Object[] parameterValues
paramsback to summary
private Map<String, String> params
testClassback to summary
private ITestClass testClass
tmback to summary
private ITestNGMethod tm

Constructor Detail

Builderback to summary
public Builder()

Method Detail

buildback to summary
public TestMethodArguments build()
forTestClassback to summary
public TestMethodArguments.Builder forTestClass(ITestClass testClass)
forTestMethodback to summary
public TestMethodArguments.Builder forTestMethod(ITestNGMethod tm)
usingAfterMethodsback to summary
public TestMethodArguments.Builder usingAfterMethods(ITestNGMethod[] afterMethods)
usingArgumentsback to summary
public TestMethodArguments.Builder usingArguments(TestMethodArguments attributes)
usingBeforeMethodsback to summary
public TestMethodArguments.Builder usingBeforeMethods(ITestNGMethod[] beforeMethods)
usingGroupMethodsback to summary
public TestMethodArguments.Builder usingGroupMethods(ConfigurationGroupMethods groupMethods)
usingInstanceback to summary
public TestMethodArguments.Builder usingInstance(Object instance)
withParametersback to summary
public TestMethodArguments.Builder withParameters(Map<String, String> params)
withParametersIndexback to summary
public TestMethodArguments.Builder withParametersIndex(int parametersIndex)
withParameterValuesback to summary
public TestMethodArguments.Builder withParameterValues(Object[] parameterValues)