Package org.testng

Interface IAttributes

    • Method Detail

      • getAttribute

        java.lang.Object getAttribute​(java.lang.String name)
        Parameters:
        name - The name of the attribute to return
        Returns:
        The attribute
      • setAttribute

        void setAttribute​(java.lang.String name,
                          java.lang.Object value)
        Set a custom attribute.
        Parameters:
        name - The attribute name
        value - The attribute value
      • getAttributeNames

        java.util.Set<java.lang.String> getAttributeNames()
        Returns:
        all the attributes names.
      • removeAttribute

        java.lang.Object removeAttribute​(java.lang.String name)
        Remove the attribute
        Parameters:
        name - The attribute name
        Returns:
        the attribute value if found, null otherwise