public class Capabilities
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CREATE_READ_ONLY_USERS_BY_DEFAULT
capability name for the read only user switch
|
static java.lang.String |
DB_VERSION
capability name for version number of server WAR file
|
static java.lang.String |
EAV_FOR_CALIBRATION |
static java.lang.String |
MATRIX_STORAGE |
static java.lang.String |
MAX_OBJECT_SIZE
capability name for the maximum object size
|
static java.lang.String |
PASSWORD_HASHING_ALGORITHM
capability name for hashing algorithm config
|
static java.lang.String |
SERVER_BUILD_NUMBER
capability name for the server build number
|
static java.lang.String |
SERVER_VERSION
capability name for the server version
|
static java.lang.String |
SPATIAL_EXTENSION
capability name for the spatial extension
|
static java.lang.String |
USE_SALTING |
static java.lang.String |
VERSION
capability name for version number of server WAR file
|
Constructor and Description |
---|
Capabilities()
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getBooleanCapability(java.lang.String capability)
Get the value of a capability.
|
java.lang.String |
getCapability(java.lang.String capability)
Get the value of a capability.
|
java.util.Hashtable<java.lang.String,java.lang.String> |
getTable() |
void |
setBooleanCapability(java.lang.String capability,
java.lang.Boolean value)
Set the value of a capability.
|
void |
setCapability(java.lang.String capability,
java.lang.String value)
Set the value of a capability.
|
void |
setTable(java.util.Hashtable<java.lang.String,java.lang.String> table) |
public static final java.lang.String VERSION
public static final java.lang.String DB_VERSION
public static final java.lang.String MAX_OBJECT_SIZE
public static final java.lang.String SPATIAL_EXTENSION
public static final java.lang.String SERVER_VERSION
public static final java.lang.String SERVER_BUILD_NUMBER
public static final java.lang.String CREATE_READ_ONLY_USERS_BY_DEFAULT
public static final java.lang.String PASSWORD_HASHING_ALGORITHM
public static final java.lang.String USE_SALTING
public static final java.lang.String MATRIX_STORAGE
public static final java.lang.String EAV_FOR_CALIBRATION
public Capabilities()
public java.util.Hashtable<java.lang.String,java.lang.String> getTable()
public void setTable(java.util.Hashtable<java.lang.String,java.lang.String> table)
public java.lang.String getCapability(java.lang.String capability)
capability
- the capabilitypublic java.lang.Boolean getBooleanCapability(java.lang.String capability)
capability
- the capabilitypublic void setCapability(java.lang.String capability, java.lang.String value)
capability
- the capabilityvalue
- the new valuepublic void setBooleanCapability(java.lang.String capability, java.lang.Boolean value)
capability
- the capabilityvalue
- the new value