|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.team.fvt.tests.topology.Application
com.ibm.team.fvt.tests.clm.topology.ClmApplication
com.ibm.team.fvt.tests.clm.topology.QmApplication
public class QmApplication
Concrete class for QM application.
Current web pages for this application are:
getAdminReportsUrl()
: Return the QM Admin Reports page URL.getAllProjectsUrl()
: Return the QM All Projects page URL.getReportsUrl(String, String)
: Return the QM Reports
page URL prefix.Following functionalities are also defined or specialized by this page:
getDefaultProcessRoles()
: Return the default process roles use
for the application project area.getPageUrl(String)
: Return the modified page URL if necessary.getTitle()
: Return the application title.getSuffix()
: Return the application suffix.
Field Summary |
---|
Constructor Summary | |
---|---|
QmApplication(java.lang.String url)
|
Method Summary | |
---|---|
java.lang.String |
getActiveProjectAreasUrl()
Return the QM Active Projects Areas page URL. |
java.lang.String |
getAdminReportsUrl()
Return the QM Admin Reports page URL. |
java.lang.String |
getAllProjectsUrl()
Return the QM All Projects page URL. |
java.lang.String[] |
getDefaultProcessRoles()
Return the default process roles use for the project area. |
java.lang.String |
getLicenseId(java.lang.String licenseName)
Return the license ID for the given license name |
java.lang.String[] |
getLicenses()
|
java.lang.String |
getPageUrl(java.lang.String pageUrl)
|
java.lang.String |
getProductName()
|
java.lang.String |
getReportsUrl(java.lang.String projectAreaTitle,
java.lang.String type)
Return the QM Reports page URL prefix. |
java.lang.String |
getSuffix()
|
java.lang.String |
getTitle()
|
boolean |
isQmApplication()
Return whether the current application is a QM application or not. |
java.lang.String |
toString()
|
Methods inherited from class com.ibm.team.fvt.tests.clm.topology.ClmApplication |
---|
getProjectAreaTitle, isCcmApplication, isDmApplication, isRmApplication |
Methods inherited from class com.ibm.team.fvt.tests.topology.Application |
---|
equals, getContextRoot, getLicense, getLocation, getTitleSuffix, getType, getTypeSuffix, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public QmApplication(java.lang.String url)
Method Detail |
---|
public java.lang.String getAdminReportsUrl()
Application.getLocation()
+ "/admin#action=jazz.viewPage&id=com.ibm.team.reports.reportsManagementPage"
public java.lang.String getAllProjectsUrl()
getAllProjectsUrl
in class ClmApplication
Application.getLocation()
+ /web#action=jazz.viewPage&id=com.ibm.team.process.projectAreaList"
public java.lang.String getActiveProjectAreasUrl()
getActiveProjectAreasUrl
in class ClmApplication
Application.getLocation()
+ /web#action=jazz.viewPage&id=com.ibm.team.process.projectAreaList"
public java.lang.String[] getDefaultProcessRoles()
Default is to have no default process roles.
getDefaultProcessRoles
in class ClmApplication
public java.lang.String getLicenseId(java.lang.String licenseName)
getLicenseId
in class ClmApplication
licenseName
- The license name
String
.public java.lang.String[] getLicenses()
getLicenses
in class com.ibm.team.fvt.tests.topology.Application
public java.lang.String getPageUrl(java.lang.String pageUrl)
Some automatic replacement inside the extracted default URL are done:
Application.getLocation()
/web" or "Application.getLocation()
/web/console" URLs are replaced
with "getAllProjectsUrl()
" one
getPageUrl
in class com.ibm.team.fvt.tests.topology.Application
public java.lang.String getProductName()
getProductName
in class com.ibm.team.fvt.tests.topology.Application
public java.lang.String getReportsUrl(java.lang.String projectAreaTitle, java.lang.String type)
projectAreaTitle
- The title of the QM project areatype
- The type of reports
Application.getLocation()
+ "/web/console/"
+ projectAreaTitle + "#action=com.ibm.rqm.planning.home.actionDispatcher&subAction="
+ actionpublic java.lang.String getTitle()
getTitle
in class com.ibm.team.fvt.tests.topology.Application
"Quality Management"
public java.lang.String getSuffix()
getSuffix
in class com.ibm.team.fvt.tests.topology.Application
" (Quality Management)"
public boolean isQmApplication()
ClmApplication
isQmApplication
in class ClmApplication
true
if current application is a QmApplication
,
false
otherwise.public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |