Package org.apache.accumulo.harness.conf
Class AccumuloClusterPropertyConfiguration
- java.lang.Object
-
- org.apache.accumulo.harness.conf.AccumuloClusterPropertyConfiguration
-
- All Implemented Interfaces:
AccumuloClusterConfiguration
- Direct Known Subclasses:
AccumuloMiniClusterConfiguration
,StandaloneAccumuloClusterConfiguration
public abstract class AccumuloClusterPropertyConfiguration extends Object implements AccumuloClusterConfiguration
Base class for extracting configuration values from Java Properties
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCUMULO_CLUSTER_CLIENT_CONF_KEY
static String
ACCUMULO_CLUSTER_TYPE_KEY
static String
ACCUMULO_IT_PROPERTIES_FILE
static String
ACCUMULO_MINI_PREFIX
static String
ACCUMULO_STANDALONE_PREFIX
protected AccumuloClusterHarness.ClusterType
clusterType
-
Constructor Summary
Constructors Constructor Description AccumuloClusterPropertyConfiguration()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccumuloClusterPropertyConfiguration
get()
Map<String,String>
getConfiguration(AccumuloClusterHarness.ClusterType type)
protected void
loadFromProperties(String desiredPrefix, Properties properties, Map<String,String> configuration)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.accumulo.harness.conf.AccumuloClusterConfiguration
getAdminPrincipal, getAdminToken, getClientConf, getClusterType
-
-
-
-
Field Detail
-
ACCUMULO_IT_PROPERTIES_FILE
public static final String ACCUMULO_IT_PROPERTIES_FILE
- See Also:
- Constant Field Values
-
ACCUMULO_CLUSTER_TYPE_KEY
public static final String ACCUMULO_CLUSTER_TYPE_KEY
- See Also:
- Constant Field Values
-
ACCUMULO_MINI_PREFIX
public static final String ACCUMULO_MINI_PREFIX
- See Also:
- Constant Field Values
-
ACCUMULO_STANDALONE_PREFIX
public static final String ACCUMULO_STANDALONE_PREFIX
- See Also:
- Constant Field Values
-
ACCUMULO_CLUSTER_CLIENT_CONF_KEY
public static final String ACCUMULO_CLUSTER_CLIENT_CONF_KEY
- See Also:
- Constant Field Values
-
clusterType
protected AccumuloClusterHarness.ClusterType clusterType
-
-
Method Detail
-
get
public static AccumuloClusterPropertyConfiguration get()
-
getConfiguration
public Map<String,String> getConfiguration(AccumuloClusterHarness.ClusterType type)
-
loadFromProperties
protected void loadFromProperties(String desiredPrefix, Properties properties, Map<String,String> configuration)
-
-