Package org.testng.internal
Interface IInstanceIdentity
-
- All Known Implementing Classes:
BaseTestMethod,ConfigurationMethod,FactoryMethod,TestNGMethod,WrappedTestNGMethod
public interface IInstanceIdentity
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.UUIDgetInstanceId()static java.lang.ObjectgetInstanceId(java.lang.Object object)static booleanisIdentityAware(java.lang.Object... objects)
-
-
-
Method Detail
-
getInstanceId
java.util.UUID getInstanceId()
- Returns:
- - A
that represents a unique id which is associated with every test class object.UUID
-
getInstanceId
static java.lang.Object getInstanceId(java.lang.Object object)
-
isIdentityAware
static boolean isIdentityAware(java.lang.Object... objects)
- Parameters:
objects- - The objects to inspect- Returns:
- -
trueif all the objects passed are of typeIInstanceIdentity
-
-