/** * Constructor that specifies the source control environment. * * @param e Source control environment to use. */ public P4Process(Env e) { super(); if (null == rt) { rt = Runtime.getRuntime(); } if (null == e) { if (null == base) { base = this; this.environ = new Env(); } else { this.environ = new Env(base.getEnv()); } } else { this.environ = e; } if (null != environ) this.threshold = environ.getServerTimeout(); }
/** * Sets the environment to use. * * @param e Source control environment. */ public void setEnv(Env e) { this.environ = e; if (null != environ) this.threshold = environ.getServerTimeout(); }