jetbrains.buildServer.serverProxy
Interface UserSummaryRemoteManager


public interface UserSummaryRemoteManager

Provides team city summary for specified user.


Field Summary
static java.lang.String HANDLER
           
 
Method Summary
 byte[] getFilteredGZippedSummaryByBuildTypes(java.lang.String userId, java.util.Vector buildTypeIds)
          Returns gzipped TeamCity summary for the specified user filtered by suitable configurations.
 byte[] getFilteredGZippedSummaryByVcsUris(java.lang.String userId, java.util.Vector vcsUris)
          Returns gzipped TeamCity summary for the specified user filtered by suitable configurations.
 byte[] getGZippedSummary(java.lang.String userId)
          Returns gzipped TeamCity summary for the specified user.
 java.util.Vector getRunningBuildsStatus()
          XML represents all currently running build status XML is like this:
 int getTotalNumberOfEvents(java.lang.String serializedSubscription)
          Returns total number of events corresponding to the specified subscription and currently logged in user.
 java.util.Vector getWatchedRunningBuildsStatus(java.lang.String userId, boolean filterBySuitableConfigurations, java.util.Vector samplePaths)
          XML represents all currently running build status filtered by user watched configurations and suitable configurations if needed XML is like this:
 

Field Detail

HANDLER

static final java.lang.String HANDLER
See Also:
Constant Field Values
Method Detail

getGZippedSummary

byte[] getGZippedSummary(java.lang.String userId)
Returns gzipped TeamCity summary for the specified user.

Parameters:
userId - user id to create summary for
Returns:
serialized with XStream object of class TeamServerSummaryData
Since:
6.5

getFilteredGZippedSummaryByVcsUris

byte[] getFilteredGZippedSummaryByVcsUris(java.lang.String userId,
                                          java.util.Vector vcsUris)
Returns gzipped TeamCity summary for the specified user filtered by suitable configurations.

Parameters:
userId - user id to create summary for
vcsUris - vcs uris to get suitable configurations
Returns:
serialized with XStream object of class TeamServerSummaryData
Since:
6.5

getFilteredGZippedSummaryByBuildTypes

byte[] getFilteredGZippedSummaryByBuildTypes(java.lang.String userId,
                                             java.util.Vector buildTypeIds)
Returns gzipped TeamCity summary for the specified user filtered by suitable configurations. Used in VS addin.

Parameters:
userId - user id to create summary for
buildTypeIds - suitable configuration ids
Returns:
serialized with XStream object of class TeamServerSummaryData
Since:
6.5

getTotalNumberOfEvents

int getTotalNumberOfEvents(@NotNull
                           java.lang.String serializedSubscription)
Returns total number of events corresponding to the specified subscription and currently logged in user.

Parameters:
serializedSubscription - serialized subscription collection SubscriptionsCollection
Returns:
total number of events

getRunningBuildsStatus

java.util.Vector getRunningBuildsStatus()
XML represents all currently running build status XML is like this:

Returns:
list of xmls with running build status info list.

getWatchedRunningBuildsStatus

java.util.Vector getWatchedRunningBuildsStatus(@NotNull
                                               java.lang.String userId,
                                               boolean filterBySuitableConfigurations,
                                               @NotNull
                                               java.util.Vector samplePaths)
XML represents all currently running build status filtered by user watched configurations and suitable configurations if needed XML is like this:

Parameters:
userId - user id
filterBySuitableConfigurations - true for filtering by suitable configurations
samplePaths - sample paths to get suitable configurations
Returns:
list of xmls with running build status info list.
Since:
6.5