|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IQcConnection
Connection to Quality Center.
| Method Summary | |
|---|---|
void |
connect(String pUsername,
String pPassword,
String pDomain,
String pProject)
Connect to a given project. |
void |
disconnect()
Disconnect from Quality center. |
BugClient |
getBugClient()
Returns the defect client. |
String |
getCurrentDomain()
Returns the name of the current project. |
List<Group> |
getCurrentGroups()
Returns the groups that the current user is member. |
String |
getCurrentProject()
Returns the name of the current project. |
String |
getCurrentUser()
Returns the name of the current user. |
List<Domain> |
getDomainList()
Returns the list of visible domains. |
FieldDescriptionClient |
getPermissionClient()
Returns the Permission client. |
String |
getServerURL()
Returns the name of the server. |
TestClient |
getTestClient()
Returns the Test client. |
UserClient |
getUserClient()
Returns the user client. |
String |
getVersion()
Returns the version of the QC Server. |
boolean |
isConnected()
Check if the client is connected to a server. |
boolean |
isLoggedIn()
Check if the client is connected to a project. |
void |
login(String pUsername,
String pPassword)
Login. |
| Method Detail |
|---|
void connect(String pUsername,
String pPassword,
String pDomain,
String pProject)
throws QcException
Need to call disconnect once the work is terminated
pUsername - The user name.pPassword - The password.pDomain - The domain.pProject - The project.
QcException - Connection error.
void disconnect()
throws QcException
QcException - QC Error.
BugClient getBugClient()
throws QcException
QcException - QC Error
String getCurrentDomain()
throws QcException
QcException - QC Error.
List<Group> getCurrentGroups()
throws QcException
QcException - Qc Error.
String getCurrentProject()
throws QcException
QcException - QC Error.
String getCurrentUser()
throws QcException
QcException - QC Error.
List<Domain> getDomainList()
throws QcException
QcException - Connection error.
FieldDescriptionClient getPermissionClient()
throws QcException
QcException - QC Error
String getServerURL()
throws QcException
QcException - QC Error.
TestClient getTestClient()
throws QcException
QcException - QC Error
UserClient getUserClient()
throws QcException
QcException - Qc Error.
String getVersion()
throws QcException
QcException - QC Errorboolean isConnected()
boolean isLoggedIn()
void login(String pUsername,
String pPassword)
throws QcException
pUsername - The username.pPassword - The password.
QcException - Login error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||