com.ibm.team.fvt.tests.clm.topology
Class QmApplication

java.lang.Object
  extended by com.ibm.team.fvt.tests.topology.Application
      extended by com.ibm.team.fvt.tests.clm.topology.ClmApplication
          extended by com.ibm.team.fvt.tests.clm.topology.QmApplication
All Implemented Interfaces:
ClmTopologyConstants

public class QmApplication
extends ClmApplication

Concrete class for QM application.

Current web pages for this application are:

Following functionalities are also defined or specialized by this page:


Field Summary
 
Fields inherited from interface com.ibm.team.fvt.tests.clm.topology.ClmTopologyConstants
ADMIN, ANALYST, CCM, CONTRIBUTOR, DESIGN_MANAGER, DESIGN_REVIEWER, DESIGNER, DEVELOPER, DEVELOPER_IEP, DM, DM_LICENSE_ID, DNG, DNG_LICENSE_ID, JTS, LICENSING, LICENSING_RHAPSODY_CONTRIBUTOR_ID, LICENSING_RHAPSODY_DESIGN_MANAGER_ID, LICENSING_RHAPSODY_DESIGN_REVIEWER_ID, LICENSING_RQM_TESTER_ID, LICENSING_RQM_VIEWER_ID, LICENSING_RRC_AUTHOR_ID, LICENSING_RRC_REVIEWER_ID, LICENSING_RSA_CONTRIBUTOR_ID, LICENSING_RSA_DESIGNER_ID, LICENSING_RTC_CONTRIBUTOR_ID, LICENSING_RTC_DEVELOPER_ID, LICENSING_RTC_DEVELOPER_IEP_ID, LICENSING_RTC_STAKEHOLDER_ID, QM, QM_LICENSE_ID, QUALITY_PROFESSIONAL, RM, RM_LICENSE_ID, RSA, RSA_LICENSE_ID, RTC_LICENSE_ID, STAKEHOLDER, VVC
 
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

QmApplication

public QmApplication(java.lang.String url)
Method Detail

getAdminReportsUrl

public java.lang.String getAdminReportsUrl()
Return the QM Admin Reports page URL.

Returns:
Application.getLocation() + "/admin#action=jazz.viewPage&id=com.ibm.team.reports.reportsManagementPage"

getAllProjectsUrl

public java.lang.String getAllProjectsUrl()
Return the QM All Projects page URL.

Specified by:
getAllProjectsUrl in class ClmApplication
Returns:
Application.getLocation() + /web#action=jazz.viewPage&id=com.ibm.team.process.projectAreaList"

getActiveProjectAreasUrl

public java.lang.String getActiveProjectAreasUrl()
Return the QM Active Projects Areas page URL.

Overrides:
getActiveProjectAreasUrl in class ClmApplication
Returns:
Application.getLocation() + /web#action=jazz.viewPage&id=com.ibm.team.process.projectAreaList"

getDefaultProcessRoles

public java.lang.String[] getDefaultProcessRoles()
Return the default process roles use for the project area.

Default is to have no default process roles.

Overrides:
getDefaultProcessRoles in class ClmApplication
Returns:
The default QM process roles for a user:
  • Test Team Member

getLicenseId

public java.lang.String getLicenseId(java.lang.String licenseName)
Return the license ID for the given license name

Overrides:
getLicenseId in class ClmApplication
Parameters:
licenseName - The license name
Returns:
The license id as a String.

getLicenses

public java.lang.String[] getLicenses()

Overrides:
getLicenses in class com.ibm.team.fvt.tests.topology.Application
Returns:
The three QM possible licenses, currently:

getPageUrl

public java.lang.String getPageUrl(java.lang.String pageUrl)

Some automatic replacement inside the extracted default URL are done:

Overrides:
getPageUrl in class com.ibm.team.fvt.tests.topology.Application

getProductName

public java.lang.String getProductName()
Overrides:
getProductName in class com.ibm.team.fvt.tests.topology.Application

getReportsUrl

public java.lang.String getReportsUrl(java.lang.String projectAreaTitle,
                                      java.lang.String type)
Return the QM Reports page URL prefix.

Parameters:
projectAreaTitle - The title of the QM project area
type - The type of reports
  • "Shared Reports"
  • "My Reports"
  • "Report Resources"
Returns:
Application.getLocation() + "/web/console/" + projectAreaTitle + "#action=com.ibm.rqm.planning.home.actionDispatcher&subAction=" + action

getTitle

public java.lang.String getTitle()

Overrides:
getTitle in class com.ibm.team.fvt.tests.topology.Application
Returns:
"Quality Management"

getSuffix

public java.lang.String getSuffix()

Overrides:
getSuffix in class com.ibm.team.fvt.tests.topology.Application
Returns:
" (Quality Management)"

isQmApplication

public boolean isQmApplication()
Description copied from class: ClmApplication
Return whether the current application is a QM application or not.

Overrides:
isQmApplication in class ClmApplication
Returns:
true if current application is a QmApplication, false otherwise.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object