org.testng
Interface IAttributes

All Superinterfaces:
Serializable
All Known Subinterfaces:
ISuite, ITestContext, ITestResult
All Known Implementing Classes:
SuiteRunner, TestRunner

public interface IAttributes
extends Serializable

A trait that is used by all interfaces that lets the user add or remove their own attributes.


Method Summary
 ObjectgetAttribute(String name)
           
 Set<String>getAttributeNames()
           
 ObjectremoveAttribute(String name)
          Remove the attribute
 voidsetAttribute(String name, Object value)
          Set a custom attribute.
 

Method Detail

getAttribute

Object getAttribute(String name)
Parameters:
name - The name of the attribute to return

setAttribute

void setAttribute(String name,                  Object value)
Set a custom attribute.


getAttributeNames

Set<String> getAttributeNames()
Returns:
all the attributes names.

removeAttribute

Object removeAttribute(String name)
Remove the attribute

Returns:
the attribute value if found, null otherwise


Copyright © 2012. All Rights Reserved.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14