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

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.CcmApplication
All Implemented Interfaces:
ClmTopologyConstants

public class CcmApplication
extends ClmApplication

Concrete class for CCM 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
CcmApplication(java.lang.String url)
           
 
Method Summary
 java.lang.String getActiveProjectAreasUrl()
          Return the CCM Active Projects Areas page URL.
 java.lang.String getAdminReportsUrl()
          Return the CCM Admin Reports page URL.
 java.lang.String getAllProjectsUrl()
          Return the CCM 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 getPlansUrl(java.lang.String projectAreaTitle, java.lang.String type)
          Return the CCM Plans page URL prefix.
 java.lang.String getProductName()
           
 java.lang.String getQueriesUrl(java.lang.String projectAreaTitle, java.lang.String type)
          Return the CCM Queries page URL prefix.
 java.lang.String getReportsUrl(java.lang.String projectAreaTitle, java.lang.String type)
          Return the CCM Reports page URL prefix.
 java.lang.String getSuffix()
          
 java.lang.String getTitle()
          
 boolean isCcmApplication()
          Return whether the current application is a CCM application or not.
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.team.fvt.tests.clm.topology.ClmApplication
getProjectAreaTitle, isDmApplication, isQmApplication, 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

CcmApplication

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

getActiveProjectAreasUrl

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

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

getAdminReportsUrl

public java.lang.String getAdminReportsUrl()
Return the CCM 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 CCM All Projects page URL.

Specified by:
getAllProjectsUrl 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 CCM process roles for a user:
  • Product Owner
  • Scrum Master
  • 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 four RTC possible licenses, currently:

getPageUrl

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

Perform some automatic replacement inside the extracted default URL:

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

getPlansUrl

public java.lang.String getPlansUrl(java.lang.String projectAreaTitle,
                                    java.lang.String type)
Return the CCM Plans page URL prefix.

Parameters:
projectAreaTitle - The title of the CCM project area
type - The type of plans view. Valid values are:
  • "All"
  • "Current"
  • "My Current"
Returns:
Application.getLocation() + "/web/projects/" + projectAreaTitle + "#action=com.ibm.team.apt.search&predef=" + type

getProductName

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

getQueriesUrl

public java.lang.String getQueriesUrl(java.lang.String projectAreaTitle,
                                      java.lang.String type)
Return the CCM Queries page URL prefix.

Parameters:
projectAreaTitle - The title of the CCM project area
type - The type of queries view
  • "My Queries"
  • "Shared Queries"
Returns:
Application.getLocation() + "/web/projects/" + projectAreaTitle + "#action=com.ibm.team.workitem.viewQueries&tab=" + type

getReportsUrl

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

Parameters:
projectAreaTitle - The title of the CCM project area
type - The type of reports. Options are:
  • "Shared Reports"
  • "My Reports"
  • "Report Resources"
Returns:
Application.getLocation() + "/web/projects/" + projectAreaTitle + "#action=com.ibm.team.reports.viewAllReport" + type

getTitle

public java.lang.String getTitle()

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

getSuffix

public java.lang.String getSuffix()

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

isCcmApplication

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

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

toString

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