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

java.lang.Object
  extended by com.ibm.team.fvt.tests.topology.Application
      extended by com.ibm.team.fvt.tests.clm.topology.ClmApplication
All Implemented Interfaces:
ClmTopologyConstants
Direct Known Subclasses:
CcmApplication, DmApplication, JtsApplication, LpaApplication, QmApplication, RmApplication, VvcApplication

public abstract class ClmApplication
extends com.ibm.team.fvt.tests.topology.Application
implements ClmTopologyConstants

Abstract class for CLM application.

A CLM application split the url prefix to extract a base URL and a context root.

It also defines:


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
 
Method Summary
 java.lang.String getActiveProjectAreasUrl()
          Return the current application's Active Project Areas page URL.
abstract  java.lang.String getAllProjectsUrl()
          Return the current application's 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 getProjectAreaTitle(java.lang.String project)
          Deprecated. The project area title should not be computed using the application title suffix as it can be changed by user!
 boolean isCcmApplication()
          Return whether the current application is a CCM application or not.
 boolean isDmApplication()
          Return whether the current application is a DM application or not.
 boolean isQmApplication()
          Return whether the current application is a QM application or not.
 boolean isRmApplication()
          Return whether the current application is a RM application or not.
 
Methods inherited from class com.ibm.team.fvt.tests.topology.Application
equals, getContextRoot, getLicense, getLicenses, getLocation, getPageUrl, getProductName, getSuffix, getTitle, getTitleSuffix, getType, getTypeSuffix, hashCode
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getDefaultProcessRoles

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

Default is to have no default process roles.

Returns:
The array of the default process roles, empty by default.

getLicenseId

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

Parameters:
licenseName - The license name
Returns:
The license id as a String.

getProjectAreaTitle

@Deprecated
public java.lang.String getProjectAreaTitle(java.lang.String project)
Deprecated. The project area title should not be computed using the application title suffix as it can be changed by user!

Return the project area title for the given project.

Parameters:
project - The name of the lifecycle project
Returns:
The project area title as a String

isCcmApplication

public boolean isCcmApplication()
Return whether the current application is a CCM application or not.

Returns:
true if current application is a CcmApplication, false otherwise.

isDmApplication

public boolean isDmApplication()
Return whether the current application is a DM application or not.

Returns:
true if current application is a DmApplication, false otherwise.

isQmApplication

public boolean isQmApplication()
Return whether the current application is a QM application or not.

Returns:
true if current application is a QmApplication, false otherwise.

isRmApplication

public boolean isRmApplication()
Return whether the current application is a RM application or not.

Returns:
true if current application is a RmApplication, false otherwise.

getAllProjectsUrl

public abstract java.lang.String getAllProjectsUrl()
Return the current application's All Projects page URL.


getActiveProjectAreasUrl

public java.lang.String getActiveProjectAreasUrl()
Return the current application's Active Project Areas page URL.