com.microsoft.tfs.core.clients.reporting
Class ReportUtils

java.lang.Object
  extended by com.microsoft.tfs.core.clients.reporting.ReportUtils

public final class ReportUtils
extends java.lang.Object

Utility class to determine common details required when working with SQL Server Reporting Services.

Since:
TEE-SDK-10.1

Method Summary
static java.lang.String formatReportManagerPath(java.lang.String reportManagerUrl, java.lang.String itemPath)
           
static java.lang.String formatReportViewerPath(java.lang.String reportViewerUrl, java.lang.String itemPath, boolean showToolbar)
           
static java.lang.String getProjectReportFolder(TFSTeamProjectCollection connection, com.microsoft.tfs.util.GUID projectId)
           
static java.lang.String getReportManagerURL(TFSTeamProjectCollection connection)
           
static java.lang.String getReportServiceURL(TFSTeamProjectCollection connection)
           
static boolean isReportingConfigured(TFSTeamProjectCollection connection)
          Determine if a reporting instance is defined for the project collection.
static java.lang.String removeKnownWebServerPaths(java.lang.String url)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isReportingConfigured

public static boolean isReportingConfigured(TFSTeamProjectCollection connection)
Determine if a reporting instance is defined for the project collection. For a server previous to TFS 2010 this is generally true, however TFS 2010 introduced a basic installation option which means that reporting is optional.


getReportManagerURL

public static java.lang.String getReportManagerURL(TFSTeamProjectCollection connection)

getReportServiceURL

public static java.lang.String getReportServiceURL(TFSTeamProjectCollection connection)

formatReportManagerPath

public static java.lang.String formatReportManagerPath(java.lang.String reportManagerUrl,
                                                       java.lang.String itemPath)

formatReportViewerPath

public static java.lang.String formatReportViewerPath(java.lang.String reportViewerUrl,
                                                      java.lang.String itemPath,
                                                      boolean showToolbar)

removeKnownWebServerPaths

public static java.lang.String removeKnownWebServerPaths(java.lang.String url)

getProjectReportFolder

public static java.lang.String getProjectReportFolder(TFSTeamProjectCollection connection,
                                                      com.microsoft.tfs.util.GUID projectId)


© 2015 Microsoft. All rights reserved.