JenkinsTransport.JenkinsProjectManager.RetrieveSnapshot C# (CSharp) Method

RetrieveSnapshot() public method

public RetrieveSnapshot ( ) : ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot
return ThoughtWorks.CruiseControl.Remote.ProjectStatusSnapshot
        public ProjectStatusSnapshot RetrieveSnapshot()
        {
            if (IsValidWebUrl())
            {
                return Api.GetProjectStatusSnapshot(WebURL);
            }
            else
            {
                return Api.GetProjectStatusSnapshot(ProjectName);
            }
        }