Export (0) Print
Expand All

InformationNodeConverters Class

Provides methods to convert IBuildInformationNode objects to more specific types.

System.Object
  Microsoft.TeamFoundation.Build.Client.InformationNodeConverters

Namespace:  Microsoft.TeamFoundation.Build.Client
Assembly:  Microsoft.TeamFoundation.Build.Client (in Microsoft.TeamFoundation.Build.Client.dll)

public static class InformationNodeConverters

The InformationNodeConverters type exposes the following members.

  NameDescription
Public methodStatic memberAddActivityTrackingAdds an activity tracking node to the specified build information object. Does not save to the server.
Public methodStatic memberAddAgentScopeActivityTrackingAdds an agent scope activity tracking node to a build information object. Does not save to the server.
Public methodStatic memberAddAssociatedChangesets(IBuildDetail, Changeset[])Associates summaries of changesets with a build.
Public methodStatic memberAddAssociatedChangesets(IBuildInformation, Changeset[])Adds an array of changesets to the specified build information. Saves the modified build information to the server.
Public methodStatic memberAddAssociatedWorkItems(IBuildDetail, WorkItem[])Adds associated work item summaries to the specified build. Saves to the server.
Public methodStatic memberAddAssociatedWorkItems(IBuildInformation, WorkItem[])Adds associates summaries of work items the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildError(IBuildInformation, String, DateTime)Adds an error to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildError(IBuildInformation, String, Int32, Int32, String, String, DateTime)Adds an error to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildError(IBuildInformation, String, String, Int32, Int32, String, String, DateTime)Adds an error to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildError(IBuildInformation, String, String, String, Int32, Int32, String, String, DateTime)Adds an error to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildMessageAdds a message to the specified build. Does not save to the server.
Public methodStatic memberAddBuildProjectNode(IBuildInformation, String, String, String, String, DateTime, String)Adds a project to the specified build information. Does not save to the server.
Public methodStatic memberAddBuildProjectNode(IBuildInformation, DateTime, String, String, String, String, DateTime, String)Adds a project to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildStep(IBuildDetail, String, String)Adds a top-level build step to the specified build with a start time of DateTime.Now. Saves to the server.
Public methodStatic memberAddBuildStep(IBuildInformation, String, String)Adds a top-level build step to the specified build information object that has a start time of DateTime.Now. Does not save to the server.
Public methodStatic memberAddBuildStep(IBuildDetail, String, String, DateTime)Adds a top-level build step to the specified build. Saves to the server.
Public methodStatic memberAddBuildStep(IBuildInformation, String, String, DateTime)Adds a top-level build step to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildStep(IBuildDetail, String, String, DateTime, BuildStepStatus)Adds a top-level build step to the specified build. Saves to the server.
Public methodStatic memberAddBuildStep(IBuildInformation, String, String, DateTime, BuildStepStatus)Adds a top-level build step to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildWarning(IBuildInformation, String, DateTime)Adds a warning to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildWarning(IBuildInformation, String, Int32, Int32, String, String, DateTime)Adds a warning to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildWarning(IBuildInformation, String, Int32, Int32, String, String, DateTime, String)Adds a warning to the specified build information object. Does not save to the server.
Public methodStatic memberAddBuildWarning(IBuildInformation, String, String, Int32, Int32, String, String, DateTime, String)Adds a warning to the specified build information object. Does not save to the server.
Public methodStatic memberAddConfigurationSummary(IBuildInformation, String, String)Adds a configuration summary to the specified build information object. Does not save to the server.
Public methodStatic memberAddConfigurationSummary(IBuildDetail, String, String, String) Obsolete. Adds a configuration summary to a build.
Public methodStatic memberAddCustomSummaryInformation
Public methodStatic memberAddExternalLinkAdds an external link to the specified build information object. Does not save to the server.
Public methodStatic memberAddOpenedWorkItems(IBuildDetail, WorkItem[])Adds associated opened work item summaries with the specified build. Saves to the server.
Public methodStatic memberAddOpenedWorkItems(IBuildInformation, WorkItem[])Adds associated open work item summaries with the specified build information object. Does not save to the server.
Public methodStatic memberGetActivityTracking(IBuildDetail, Int32)Gets an activity tracking node from the specified build with the specified ID.
Public methodStatic memberGetActivityTracking(IBuildDetail, String)Gets an activity tracking node from the specified build with the specified instance ID.
Public methodStatic memberGetActivityTracking(IBuildInformation, String)Gets an activity tracking node from the specified build information object that has the specified instance ID.
Public methodStatic memberGetActivityTrackingNodes(IBuildDetail)Gets the activity tracking nodes from the specified build.
Public methodStatic memberGetActivityTrackingNodes(IBuildInformation)Gets the activity tracking nodes from the specified build information object.
Public methodStatic memberGetAssociatedChangesets(IBuildDetail)Gets the associated changeset summaries from the specified build.
Public methodStatic memberGetAssociatedChangesets(IBuildInformation)Get the associated changeset summaries from the specified build information object.
Public methodStatic memberGetAssociatedWorkItems(IBuildDetail)Gets the associated work item summaries from the specified build.
Public methodStatic memberGetAssociatedWorkItems(IBuildInformation)Gets the associated work item summaries from the specified build information object.
Public methodStatic memberGetBuildErrorConverts a single IBuildInformationNode of type BuildError into an IBuildError object.
Public methodStatic memberGetBuildErrors(IBuildDetail)Gets the build error nodes from the specified build.
Public methodStatic memberGetBuildErrors(IBuildInformation)Gets the build error nodes from a build information object.
Public methodStatic memberGetBuildProjectNodeGets the project node with the corresponding local path, or null if none is found.
Public methodStatic memberGetBuildProjectNodes(IBuildDetail)Gets the build project nodes from the specified build.
Public methodStatic memberGetBuildProjectNodes(IBuildInformation)Gets the build project nodes from the specified build information object.
Public methodStatic memberGetBuildSteps(IBuildDetail)Gets a sorted list of the build steps from the specified build.
Public methodStatic memberGetBuildSteps(IBuildInformation)Gets a sorted list of the build steps from the specified build information object.
Public methodStatic memberGetBuildWarningConverts a single IBuildInformationNode of type BuildWarning into an IBuildWarning object.
Public methodStatic memberGetBuildWarnings(IBuildDetail)Gets build warning nodes from the specified build.
Public methodStatic memberGetBuildWarnings(IBuildInformation)Gets the build warning nodes from the specified build information object.
Public methodStatic memberGetChangesetId(IBuildInformation)Gets a changeset ID from the specified build information object.
Public methodStatic memberGetChangesetId(IBuildInformation, Int32)Gets a changesetId from the build for a particular request
Public methodStatic memberGetChangesetId(IBuildInformation, Int32, Boolean)Gets a changesetId from the build for a particular request, if returnFirstIfNotFound is specified, it returns the first changeset in the list if the one specified is not present.
Public methodStatic memberGetChangesetsInfoGets several changesets from the build
Public methodStatic memberGetConfigurationSummaries(IBuildDetail)Gets the configuration summaries from the specified build.
Public methodStatic memberGetConfigurationSummaries(IBuildInformation)Gets the configuration summaries from the specified build information object.
Public methodStatic memberGetConfigurationSummary(IBuildInformationNode)Gets a configuration summary from the specified build information node.
Public methodStatic memberGetConfigurationSummary(IBuildDetail, String, String)Gets a configuration summary from the specified build.
Public methodStatic memberGetConfigurationSummary(IBuildInformation, String, String)Gets a configuration summary from the specified build information object.
Public methodStatic memberGetCustomSummaryInformationConverts a single Information node of type CustomSummaryInformation into an ICustomSummaryInformation object.
Public methodStatic memberGetCustomSummaryInformationNodes(IBuildDetail)Gets all of the Custom Summary Information nodes from a build.
Public methodStatic memberGetCustomSummaryInformationNodes(IBuildInformation)Gets all of the Custom Summary Information nodes from a build information object.
Public methodStatic memberGetOpenedWorkItems(IBuildDetail)Gets the associated opened work item summaries for the specified build.
Public methodStatic memberGetOpenedWorkItems(IBuildInformation)Gets the associated opened work item summaries for the specified build information object.
Public methodStatic memberGetTopLevelProjects(IBuildDetail)Gets the top-level build project nodes from the specified build.
Public methodStatic memberGetTopLevelProjects(IBuildInformation)Gets top-level build project nodes from the specified build information object.
Top

The InformationNodeConverters class can be used to add IBuildInformationNodes of various types to an IBuildDetail, or to get IBuildInformationNodes of various types from an IBuildDetail. In both cases, return values of the various static methods will typically be helper interface types, such as IBuildStep or IConfigurationSummary. These types serve to simplify access to the underlying IBuildInformationNode objects.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft