Set the master url that this object works with.
557291
def set_master(self, url):
        """"""
        m = urlparse(url)
        self.master_scheme = m.scheme
        self.master_netloc = m.netloc
        self.master_path = os.path.dirname(m.path)
159547
public void setIconUrl(String v) {
    if (FullTextLink_Type.featOkTst && ((FullTextLink_Type)jcasType).casFeat_iconUrl == null)
      jcasType.jcas.throwFeatMissing("iconUrl", "de.julielab.jules.types.FullTextLink");
    jcasType.ll_cas.ll_setStringValue(addr, ((FullTextLink_Type)jcasType).casFeatCode_iconUrl, v);}
767110
def _build_url(self, shorten=True):
        """"""
        self.url = URL_FORMAT.format(*self._get_url_params(shorten=shorten))
691091
def add_master( *args )
      args.map do |key|
        key = to_key(key)
        @masters << key unless @masters.include? key
        key
      end
    end
559252
def _buildUrl(self):
		""""""
		return '%(protocol)s://%(host)s:%(port)s%(address)s'%{
			'protocol': self._protocol,
			'host': self._host,
			'port': self._port,
			'address': self._address,
		}
1163472
def build_url (self):
        """"""
        super(UnknownUrl, self).build_url()
        if self.is_ignored():
            self.add_info(_("%(scheme)s URL ignored.") %
                          {"scheme": self.scheme.capitalize()})
            self.set_result(_("ignored"))
        else:
            self.set_result(_("URL is unrecognized or has invalid syntax"),
                        valid=False)
612385
public void setUrl(String newValue)
    throws JspCoreException
    {
        if (newValue == null) {
            throw new JspCoreException(JspConstants.NullUrl);
        }
        this.url = newValue.trim();
    }
924924
private function setUrl() {

		$this -> url = Router :: url($this -> identifier, $this -> params, $this -> domain);

		$url = new URLParser($this -> url);

		if(null === $url -> getScheme() && strlen($this -> url) > 0) {
			$this -> url = '/' . $this -> url;
		}
	}
632962
void setMasterAddress(Address master) {
        assert lock.isHeldByCurrentThread() : "Called without holding cluster service lock!";
        if (logger.isFineEnabled()) {
            logger.fine("Setting master address to " + master);
        }
        masterAddress = master;
    }
52639
public T setMaster(String master) {
    checkNotNull(master, "master");
    builder.master = master;
    return self();
  }
1107663
public void setUrl(String url) throws IOException {
    if (failException != null) {
      throw failException;
    }

    sessionInfo.url = url;

    SessionInfo newInfo = new SessionInfo(sessionInfo);
    cmNotifier.addCall(
      new ClusterManagerService.sessionUpdateInfo_args(sessionId, newInfo));
  }
24053
public function setUrl($name, $url, $oldUrl = null)
    {
        $this->arguments[] = 'set-url';
        $this->arguments[] = $name;
        $this->arguments[] = $url;
        if ($oldUrl) {
            $this->arguments[] = $oldUrl;
        }
        return $this;
    }
272106
public void setUrl(String v) {
    if (FullTextLink_Type.featOkTst && ((FullTextLink_Type)jcasType).casFeat_url == null)
      jcasType.jcas.throwFeatMissing("url", "de.julielab.jules.types.FullTextLink");
    jcasType.ll_cas.ll_setStringValue(addr, ((FullTextLink_Type)jcasType).casFeatCode_url, v);}
58718
def setUrl(self, url):
        
        if isUrl(url):
            self._url = url
        else:
            raise exceptions.BadUrlException(url)
        return self
1353817
def set_url(self, url = None):
        
                
        if url is None or type(url) is not str:
            raise KPError("Need a new image number")
        else:
            self.url = url
            self.last_mod = datetime.now().replace(microsecond=0)
            return True
339117
public RFuture<RedisClient> changeMaster(URI address) {
        ClientConnectionsEntry oldMaster = masterEntry;
        RFuture<RedisClient> future = setupMasterEntry(address);
        changeMaster(address, oldMaster, future);
        return future;
    }
406102
def _set_repo(self, url):
        """"""
        if url.startswith('http'):
            try:
                self.repo = Proxy(url)
            except ProxyError, e:
                log.exception('Error setting repo: %s' % url)
                raise GritError(e)
        else:
            try:
                self.repo = Local(url)
            except NotGitRepository:
                raise GritError('Invalid url: %s' % url)
            except Exception, e:
                log.exception('Error setting repo: %s' % url)
                raise GritError(e)