All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.testng.IAttributes Maven / Gradle / Ivy

There is a newer version: 7.10.2
Show newest version
package org.testng;

import java.io.Serializable;
import java.util.Set;

/**
 * A trait that is used by all interfaces that lets the user add or remove their
 * own attributes.
 */
public interface IAttributes extends Serializable {
  /**
   * @param name The name of the attribute to return
   */
  public Object getAttribute(String name);

  /**
   * Set a custom attribute.
   */
  public void setAttribute(String name, Object value);

  /**
   * @return all the attributes names.
   */
  public Set getAttributeNames();

  /**
   * Remove the attribute
   *
   * @return the attribute value if found, null otherwise
   */
  public Object removeAttribute(String name);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy