Package org.tmatesoft.hg.internal

Examples of org.tmatesoft.hg.internal.PropertyMarshal


  }

  private int getLockTimeout() {
    int cfgValue = getConfiguration().getIntegerValue("ui", "timeout", 600);
    if (getSessionContext().getConfigurationProperty(Internals.CFG_PROPERTY_FS_LOCK_TIMEOUT, null) != null) {
      return new PropertyMarshal(sessionContext).getInt(Internals.CFG_PROPERTY_FS_LOCK_TIMEOUT, cfgValue);
    }
    return cfgValue;
  }
View Full Code Here


  public void init(RemoteDescriptor remote, SessionContext sessionContext, Object globalConfig) throws HgRuntimeException {
    rd = remote;
    setURI(remote.getURI());
    sessionCtx = sessionContext;
    debug = new PropertyMarshal(sessionContext).getBoolean("hg4j.remote.debug", false);
  }
View Full Code Here

    RemoteConnectorDescriptor rcd = Adaptable.Factory.getAdapter(rd, RemoteConnectorDescriptor.class, null);
    if (rcd == null) {
      throw new IllegalArgumentException(String.format("Present implementation supports remote connections via %s only", Connector.class.getName()));
    }
    sessionContext = ctx;
    debug = new PropertyMarshal(ctx).getBoolean("hg4j.remote.debug", false);
    remote = rcd.createConnector();
    remote.init(rd /*sic! pass original*/, ctx, null);
  }
View Full Code Here

TOP

Related Classes of org.tmatesoft.hg.internal.PropertyMarshal

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.