@Deprecated public FluoConfiguration setAccumuloClasspath(String path) { setProperty(ADMIN_ACCUMULO_CLASSPATH_PROP, verifyNotNull(ADMIN_ACCUMULO_CLASSPATH_PROP, path)); return this; }
/** * Sets URL to directory where observer jars can be found * <p> * Sets the value of the property {@value #OBSERVER_JARS_URL_PROP} * * @param observerJarsUrl URL to observer jars directory, must not be null * @since 1.2.0 */ public FluoConfiguration setObserverJarsUrl(String observerJarsUrl) { setProperty(OBSERVER_JARS_URL_PROP, verifyNotNull(OBSERVER_JARS_URL_PROP, observerJarsUrl)); return this; }
/** * Sets URL to directory where observer jars can be found * <p> * Sets the value of the property {@value #OBSERVER_JARS_URL_PROP} * * @param observerJarsUrl URL to observer jars directory, must not be null * @since 1.2.0 */ public FluoConfiguration setObserverJarsUrl(String observerJarsUrl) { setProperty(OBSERVER_JARS_URL_PROP, verifyNotNull(OBSERVER_JARS_URL_PROP, observerJarsUrl)); return this; }
/** * Sets directory where observers jars can found for initialization * <p> * Sets the value of the property {@value #OBSERVER_INIT_DIR_PROP} * * @param observerDir Path to directory, must not be null * @since 1.2.0 */ public FluoConfiguration setObserverInitDir(String observerDir) { setProperty(OBSERVER_INIT_DIR_PROP, verifyNotNull(OBSERVER_INIT_DIR_PROP, observerDir)); return this; }
/** * Sets paths to jars to provide to Accumulo. If not set, Fluo will find jars on classpath * <p> * Sets the value of the property {@value #ACCUMULO_JARS_PROP} * * @param path CSV list of paths, must not be null * @since 1.2.0 */ public FluoConfiguration setAccumuloJars(String path) { setProperty(ACCUMULO_JARS_PROP, verifyNotNull(ACCUMULO_JARS_PROP, path)); return this; }
/** * Sets the Apache Accumulo password property {@value #ACCUMULO_PASSWORD_PROP} * * @param accumuloPassword The password to use, must not be null. */ public FluoConfiguration setAccumuloPassword(String accumuloPassword) { setProperty(ACCUMULO_PASSWORD_PROP, verifyNotNull(ACCUMULO_PASSWORD_PROP, accumuloPassword)); return this; }
/** * Sets paths to jars to provide to Accumulo. If not set, Fluo will find jars on classpath * <p> * Sets the value of the property {@value #ACCUMULO_JARS_PROP} * * @param path CSV list of paths, must not be null * @since 1.2.0 */ public FluoConfiguration setAccumuloJars(String path) { setProperty(ACCUMULO_JARS_PROP, verifyNotNull(ACCUMULO_JARS_PROP, path)); return this; }
/** * Sets the Apache Accumulo password property {@value #ACCUMULO_PASSWORD_PROP} * * @param accumuloPassword The password to use, must not be null. */ public FluoConfiguration setAccumuloPassword(String accumuloPassword) { setProperty(ACCUMULO_PASSWORD_PROP, verifyNotNull(ACCUMULO_PASSWORD_PROP, accumuloPassword)); return this; }
/** * Sets directory where observers jars can found for initialization * <p> * Sets the value of the property {@value #OBSERVER_INIT_DIR_PROP} * * @param observerDir Path to directory, must not be null * @since 1.2.0 */ public FluoConfiguration setObserverInitDir(String observerDir) { setProperty(OBSERVER_INIT_DIR_PROP, verifyNotNull(OBSERVER_INIT_DIR_PROP, observerDir)); return this; }
@Deprecated public FluoConfiguration setAccumuloClasspath(String path) { setProperty(ADMIN_ACCUMULO_CLASSPATH_PROP, verifyNotNull(ADMIN_ACCUMULO_CLASSPATH_PROP, path)); return this; }
/** * Setting this before initializing an application will cause Fluo to lock down Zookeeper such * that this secret is required to read data from zookeeper. If set to an empty string, then * nothing in zookeeper will be locked down. This property defaults to an empty string. * * <p> * Sets the value of the property {@value #CONNECTION_ZOOKEEPER_SECRET} * * @since 1.2.0 */ public void setZookeeperSecret(String secret) { setProperty(CONNECTION_ZOOKEEPER_SECRET, verifyNotNull(CONNECTION_ZOOKEEPER_SECRET, secret)); }
/** * Setting this before initializing an application will cause Fluo to lock down Zookeeper such * that this secret is required to read data from zookeeper. If set to an empty string, then * nothing in zookeeper will be locked down. This property defaults to an empty string. * * <p> * Sets the value of the property {@value #CONNECTION_ZOOKEEPER_SECRET} * * @since 1.2.0 */ public void setZookeeperSecret(String secret) { setProperty(CONNECTION_ZOOKEEPER_SECRET, verifyNotNull(CONNECTION_ZOOKEEPER_SECRET, secret)); }
/** * Gets the Apache Accumulo password property value {@value #ACCUMULO_PASSWORD_PROP} * * @throws NoSuchElementException if {@value #ACCUMULO_PASSWORD_PROP} is not set */ public String getAccumuloPassword() { if (containsKey(ACCUMULO_PASSWORD_PROP)) { return verifyNotNull(ACCUMULO_PASSWORD_PROP, getString(ACCUMULO_PASSWORD_PROP)); } else if (containsKey(CLIENT_ACCUMULO_PASSWORD_PROP)) { return verifyNotNull(CLIENT_ACCUMULO_PASSWORD_PROP, getString(CLIENT_ACCUMULO_PASSWORD_PROP)); } throw new NoSuchElementException(ACCUMULO_PASSWORD_PROP + " is not set!"); }
/** * Gets the Apache Accumulo password property value {@value #ACCUMULO_PASSWORD_PROP} * * @throws NoSuchElementException if {@value #ACCUMULO_PASSWORD_PROP} is not set */ public String getAccumuloPassword() { if (containsKey(ACCUMULO_PASSWORD_PROP)) { return verifyNotNull(ACCUMULO_PASSWORD_PROP, getString(ACCUMULO_PASSWORD_PROP)); } else if (containsKey(CLIENT_ACCUMULO_PASSWORD_PROP)) { return verifyNotNull(CLIENT_ACCUMULO_PASSWORD_PROP, getString(CLIENT_ACCUMULO_PASSWORD_PROP)); } throw new NoSuchElementException(ACCUMULO_PASSWORD_PROP + " is not set!"); }