Top Fields Constructors Methods
org.testng.internal

public Class ParameterInfo

extends Object
implements IParameterInfo
Class Inheritance
All Implemented Interfaces
org.testng.internal.IParameterInfo

Field Summary

Modifier and TypeField and Description
private final int
private Object
private Object[]

Constructor Summary

AccessConstructor and Description
public
ParameterInfo(Object instance, int index, Object[] parameters)

Method Summary

Modifier and TypeMethod and Description
public int
public Object
public Object[]
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

indexback to summary
private final int index
instanceback to summary
private Object instance
parametersback to summary
private Object[] parameters

Constructor Detail

ParameterInfoback to summary
public ParameterInfo(Object instance, int index, Object[] parameters)

Method Detail

getIndexback to summary
public int getIndex()

Implements org.testng.internal.IParameterInfo.getIndex.

Returns:int

Doc from org.testng.internal.IParameterInfo.getIndex.

- The actual index of instance associated with a factory method

Annotations
@Override
getInstanceback to summary
public Object getInstance()

Implements org.testng.internal.IParameterInfo.getInstance.

Returns:Object

Doc from org.testng.internal.IParameterInfo.getInstance.

- The actual instance associated with a factory method

Annotations
@Override
getParametersback to summary
public Object[] getParameters()

Implements org.testng.internal.IParameterInfo.getParameters.

Returns:Object[]

Doc from org.testng.internal.IParameterInfo.getParameters.

- The parameters associated with the factory method as an array.

Annotations
@Override