示例#1
0
        /// <summary>
        /// Gets the projects and integration queues snapshot from this server.
        /// </summary>
        public CruiseServerSnapshot GetCruiseServerSnapshot()
        {
            SnapshotResponse resp = cruiseServer.GetCruiseServerSnapshot(GenerateServerRequest());

            ValidateResponse(resp);
            return(resp.Snapshot);
        }
示例#2
0
 /// <summary>
 /// Gets the projects and integration queues snapshot from this server.
 /// </summary>
 public virtual SnapshotResponse GetCruiseServerSnapshot(ServerRequest request)
 {
     return(server.GetCruiseServerSnapshot(request));
 }