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

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

public class RmApplication
extends ClmApplication

Concrete class for RM 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
RmApplication(java.lang.String url)
           
 
Method Summary
 java.lang.String getAllProjectsUrl()
          Return the RM 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)
           Perform some automatic replacement inside the extracted default URL: "Application.getLocation()/web" or "Application.getLocation()/web/console" URLs are replaced with "getAllProjectsUrl()" one
 java.lang.String getProductName()
           
 java.lang.String getShowProjectDashboardUrl(java.lang.String projectUri, boolean collection)
          Return the RM Artifacts or Collections page URL prefix.
 java.lang.String getSuffix()
          
 java.lang.String getTitle()
          
 boolean isRmApplication()
          Return whether the current application is a RM application or not.
 java.lang.String toString()
           
 
Methods inherited from class com.ibm.team.fvt.tests.clm.topology.ClmApplication
getActiveProjectAreasUrl, getProjectAreaTitle, isCcmApplication, isDmApplication, isQmApplication
 
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

RmApplication

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

getAllProjectsUrl

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

Specified by:
getAllProjectsUrl in class ClmApplication
Returns:
Application.getLocation() + /web#action=com.ibm.rdm.web.pages.showAllProjectsPage"

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 RM process roles for a user:
  • Author

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 two RM 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

getProductName

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

getShowProjectDashboardUrl

public java.lang.String getShowProjectDashboardUrl(java.lang.String projectUri,
                                                   boolean collection)
Return the RM Artifacts or Collections page URL prefix.

Parameters:
projectUri - The URI of the project
Returns:
Application.getLocation() +
"/web#action=com.ibm.rdm.web.pages.showProjectDashboard&projectURI" +
projectURI +
"&viewType=collection"

getTitle

public java.lang.String getTitle()

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

getSuffix

public java.lang.String getSuffix()

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

isRmApplication

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

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

toString

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