testopia.API
Class Component
java.lang.Object
testopia.API.Component
public class Component
- extends java.lang.Object
Allows the user to get a hashmap of the component values by inputing the component ID
- Author:
- anelson
Constructor Summary |
Component(java.lang.String userName,
java.lang.String password,
java.net.URL url)
|
Method Summary |
java.util.HashMap<java.lang.String,java.lang.Object> |
getComponentByID(int id)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Component
public Component(java.lang.String userName,
java.lang.String password,
java.net.URL url)
- Parameters:
userName
- - your testopia/bugzilla usernamepassword
- - the password for your accounturl
- - the url of the testopia server
getComponentByID
public java.util.HashMap<java.lang.String,java.lang.Object> getComponentByID(int id)
- Parameters:
id
- the ID of the component that will be returned. Null is returned
if the component can't be found
- Returns:
- the product name that corresponds the specified product ID