public void RetrieveTheFiles(WarmupRequestMessage requestMessage)
        {
            if (CanRetrieveTheFiles() == false)
                throw new InvalidOperationException("System cannot retrieve the files using git");

            PutAMessageOnTheBusToRetrieveTheFiles(requestMessage);
        }
 private void PutAMessageOnTheBusToRetrieveTheFiles(WarmupRequestMessage requestMessage)
 {
     bus.Send(new RetrieveFilesFromGitRepositoryMessage{
                                                           TemplateName = requestMessage.TemplateName,
                                                           TokenReplaceValue = requestMessage.TokenReplaceValue
                                                       });
 }
        public void RetrieveTheFiles(WarmupRequestMessage requestMessage)
        {
            if (CanRetrieveTheFiles() == false)
                throw new InvalidOperationException("System cannot retrieve the files using svn");

            applicationBus.Send(new RetrieveFilesFromSvnRepositoryMessage{
                                                                             TemplateName = requestMessage.TemplateName,
                                                                             TokenReplaceValue = requestMessage.TokenReplaceValue,
                                                                         });
        }