Sets a git settings reference

@antdoc.notrequired
@param settingsRef the settingsRef to set
969736
public void setSettingsRef(String settingsRef) {
                if (GitTaskUtils.isNullOrBlankString(settingsRef)) {
                        throw new BuildException("Can't set blank git settings reference.");
                }

                // no override
                if (this.settingsRef == null) {
                        this.settingsRef = settingsRef;
                }
        }
949840
def set(self, section, option, value=''):
        '''
        
        '''
        self._string_check(value)
        super(GitConfigParser, self).set(section, option, value)
1097562
public function add_setting_field( $fields, $repo ) {
		if ( ! empty( $fields ) ) {
			return $fields;
		}

		return $this->get_repo_api( $repo->git, $repo )->add_repo_setting_field();
	}
473938
@Override
    public void setSetting(String setting) throws CDKException {
        if (setting.equals("true") || setting.equals("false")) {
            this.setting = setting;
        } else if (setting.equals("yes") || setting.equals("y")) {
            this.setting = "true";
        } else if (setting.equals("no") || setting.equals("n")) {
            this.setting = "false";
        } else {
            throw new CDKException("Setting " + setting + " is not a boolean.");
        }
    }
60950
@Override public void referenceSetUpdate(DoubleSolution solution) {
    if (refSet1Test(solution)) {
      for (DoubleSolution solutionInRefSet2 : referenceSet2) {
        double aux = SolutionUtils.distanceBetweenSolutionsInObjectiveSpace(solution, solutionInRefSet2);
        DoubleSolution auxSolution = solutionInRefSet2;
        if (aux < distanceToSolutionListAttribute.getAttribute(auxSolution)) {
          distanceToSolutionListAttribute.setAttribute(auxSolution, aux);
        }
      }
    } else {
      refSet2Test(solution);
    }
  }
1271242
protected void setWsConfigurationHelper(ServiceReference<WSConfigurationHelper> ref) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "setWSConfigurationHelper", ref);
        wsConfigurationHelperRef.setReference(ref);
    }
613677
@SuppressWarnings("rawtypes")
        protected void setupCredentials(GitCommand<?> command) {
                GitSettings settings = lookupSettings();

                if (settings != null && command instanceof TransportCommand) {
                        TransportCommand cmd = (TransportCommand) command;
                        cmd.setCredentialsProvider(settings.getCredentials());
                }
        }
597846
protected void updateForNewConfiguration(CmsGitConfiguration gitConfig) {

        if (!m_checkinBean.setCurrentConfiguration(gitConfig)) {
            Notification.show(
                CmsVaadinUtils.getMessageText(Messages.GUI_GIT_CONFIGURATION_SWITCH_FAILED_0),
                CmsVaadinUtils.getMessageText(Messages.GUI_GIT_CONFIGURATION_SWITCH_FAILED_DESC_0),
                Type.ERROR_MESSAGE);
            m_configurationSelector.select(m_checkinBean.getCurrentConfiguration());
            return;
        }

        resetSelectableModules();
        for (final String moduleName : gitConfig.getConfiguredModules()) {
            addSelectableModule(moduleName);
        }
        updateNewModuleSelector();
        m_pullFirst.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPullBefore()));
        m_pullAfterCommit.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPullAfter()));
        m_addAndCommit.setValue(Boolean.valueOf(gitConfig.getDefaultAutoCommit()));
        m_pushAutomatically.setValue(Boolean.valueOf(gitConfig.getDefaultAutoPush()));
        m_commitMessage.setValue(Strings.nullToEmpty(gitConfig.getDefaultCommitMessage()));
        m_copyAndUnzip.setValue(Boolean.valueOf(gitConfig.getDefaultCopyAndUnzip()));
        m_excludeLib.setValue(Boolean.valueOf(gitConfig.getDefaultExcludeLibs()));
        m_ignoreUnclean.setValue(Boolean.valueOf(gitConfig.getDefaultIngoreUnclean()));
        m_userField.setValue(Strings.nullToEmpty(gitConfig.getDefaultGitUserName()));
        m_emailField.setValue(Strings.nullToEmpty(gitConfig.getDefaultGitUserEmail()));

    }
563356
def changeset
      @changeset ||= git_diff.map do |diff_file|
        file_diff = FileDiff.new(diff_file)
        file_diff unless FormattingChecker.pure_formatting?(file_diff)
      end.compact
    end
1298016
@SuppressWarnings("unchecked")
    protected Map<String, Object> handleGetSettingsData(Set<String> settingSet) {

        if(settingSet == null || settingSet.size() == 0){
            throw new NotEnoughFieldsSpecifiedException("At least one settings field needs to passed in as an argument.");
        }

        Map<String, String> uriVariables = restUriVariablesFactory.getUriVariablesForSettings(settingSet);
        String url = restUrlFactory.assembleUrlForSettings();

        Map<String, Object> response = this.performGetRequest(url, Map.class, uriVariables);

        return response;

    }
446945
def setVersion(self, version):
        
        try:
            sha = self.versions(version).commit.sha
            self.git.reset("--hard", sha)
        except Exception, e:
            raise RepoError(e)
517100
function (conf) {
            if (conf) {
                if ("center" in conf) {
                    this.conf.center = conf.center;
                }
                if ("absolutePosition" in conf) {
                    this.setPositionAsReference(conf.absolutePosition);
                }
            }
            this.refresh();
            this.refreshProcessingIndicators();
        }
155732
@Reference(name = KEY_FILE_TRANSFER_HELPER, service = .class)
    protected void setRef(ServiceReference<> ref) {
        fileTransferHelperRef.setReference(ref);
    }
870077
private void applySettings() {
		buttonContainer.reset();
		WButton exampleButton = new WButton(tfButtonLabel.getText());

		exampleButton.setRenderAsLink(cbRenderAsLink.isSelected());

		exampleButton.setText(tfButtonLabel.getText());

		if (cbSetImage.isSelected()) {
			exampleButton.setImage("/image/pencil.png");
			exampleButton.setImagePosition((ImagePosition) ddImagePosition.getSelected());
		}

		exampleButton.setDisabled(cbDisabled.isSelected());

		if (tfAccesskey.getText() != null && tfAccesskey.getText().length() > 0) {
			exampleButton.setAccessKey(tfAccesskey.getText().toCharArray()[0]);
		}

		buttonContainer.add(exampleButton);
	}
1079865
@Override
	public void applyConfig(final ConfigSettings config)
	{
		Object o = config
				.getConfigParameter(ConfigurationKeys.COUNTER_FULL_REVISION);
		if (o != null) {
			this.fullRevisionField.setText(Integer.toString((Integer) o));
		}
		else {
			this.fullRevisionField.setText("");
		}

		o = config
				.getConfigParameter(ConfigurationKeys.VALUE_MINIMUM_LONGEST_COMMON_SUBSTRING);
		if (o != null) {
			this.minimumCommonSequenceField.setText(Integer
					.toString((Integer) o));
		}
		else {
			this.minimumCommonSequenceField.setText("");
		}
	}
67080
private function setSettings()
    {
        if (!empty($this->settings['url']) && is_string($this->settings['url'])) {
            $this->url = $this->settings['url'];
        } if (!empty($this->settings['version']) && is_string($this->settings['version'])) {
            $this->version = $this->settings['version'];
        } if (isset($this->settings['call']) && is_bool($this->settings['call'])) {
            $this->call = $this->settings['call'];
        } if (isset($this->settings['secured']) && is_bool($this->settings['secured'])) {
            $this->secure = $this->settings['secured'];
        }
        $this->changed = false;
    }
55020
protected void setConfigAdmin(ServiceReference<ConfigurationAdmin> ref) {
        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
            Tr.debug(tc, "setConfigAdmin", ref);
        configAdminRef.setReference(ref);
    }