private InstallationComponent CreateBuildToBuildRunRelationship()
 {
     return(new InstallationComponent("Creating relationship between build and build run entities",
                                      BuildInstallationActions.CreateRelationshipWithBuildRunEntity(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetPasswordInstallationComponent()
 {
     return(new InstallationComponent("Creating build target password field",
                                      BuildInstallationActions.CreateTargetPasswordField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent CreateSolutionIdProperty()
 {
     return(new InstallationComponent("Creating solution id property",
                                      BuildInstallationActions.CreateSolutionIdField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetUsernameInstallationComponent()
 {
     return(new InstallationComponent("Creating build target username field",
                                      BuildInstallationActions.CreateTargetUsernameField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetDomainInstallationComponent()
 {
     return(new InstallationComponent("Creating build target domain field",
                                      BuildInstallationActions.CreateTargetDomainField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetEmailAddressInstallationComponent()
 {
     return(new InstallationComponent("Creating build target email address field",
                                      BuildInstallationActions.CreateTargetEmailField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetCrmUrlInstallationComponent()
 {
     return(new InstallationComponent("Creating build target CRM URL field",
                                      BuildInstallationActions.CreateTargetCrmUrlField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent GetTargetAuthenticationTypeInstallationComponent()
 {
     return(new InstallationComponent("Creating build target authentication type field",
                                      BuildInstallationActions.CreateTargetAuthenticationTypeField(),
                                      OtherActions.DoNothing(),
                                      OtherActions.DoNothing()));
 }
 private InstallationComponent CreateMinorVersionProperty()
 {
     return(new InstallationComponent(
                "Creating minor version property",
                BuildInstallationActions.CreateMinorVersionField(),
                OtherActions.DoNothing(),
                OtherActions.DoNothing()));
 }
Beispiel #10
0
        private void RegisterComponents()
        {
            var createBuildVersioningTypeOption = new InstallationComponent("Adding build versioning type option",
                                                                            BuildInstallationActions.CreateBuildVersioningTypeField(),
                                                                            OtherActions.DoNothing(),
                                                                            OtherActions.DoNothing());

            RegisterNextComponent(createBuildVersioningTypeOption);
        }
Beispiel #11
0
        private void RegisterComponents()
        {
            var createEntity = new InstallationComponent("Creating build entity",
                                                         BuildInstallationActions.CreateEntity(),
                                                         OtherActions.DoNothing(),
                                                         OtherActions.DoNothing());

            var createName = new InstallationComponent("Creating build entity name",
                                                       BuildInstallationActions.CreateNameField(),
                                                       OtherActions.DoNothing(),
                                                       OtherActions.DoNothing()); // Rollback is covered by deletion of entity in first component

            RegisterNextComponent(createEntity);
            RegisterNextComponent(createName);
        }