Package org.testng.internal
Interface IInstanceIdentity
- All Known Implementing Classes:
BaseTestMethod
,ConfigurationMethod
,FactoryMethod
,TestNGMethod
,WrappedTestNGMethod
public interface IInstanceIdentity
-
Method Summary
Modifier and TypeMethodDescriptionstatic Object
getInstanceId
(Object object) static boolean
isIdentityAware
(Object... objects)
-
Method Details
-
getInstanceId
UUID getInstanceId()- Returns:
- - A
that represents a unique id which is associated with every test class object.UUID
-
getInstanceId
-
isIdentityAware
- Parameters:
objects
- - The objects to inspect- Returns:
- -
true
if all the objects passed are of typeIInstanceIdentity
-