public interface IConfiguration extends IElement
ICatalog
object.ICatalog
Modifier and Type | Interface and Description |
---|---|
static interface |
IConfiguration.CatalogKeys
Catalog scope keys
|
static interface |
IConfiguration.CommonKeys
The common keys
|
static interface |
IConfiguration.ProjectKeys
Project scope keys
|
static interface |
IConfiguration.ServerKeys
Server keys
|
static interface |
IConfiguration.SupportedKeys
Deprecated.
Use ServerKeys instead
|
Modifier and Type | Method and Description |
---|---|
BigDecimal |
getBigDecimalProperty(String key)
Retrieves a standard property by passing its key.
|
BigDecimal |
getBigDecimalProperty(String key,
BigDecimal defaultValue)
Retrieves a standard property by passing its key.
|
BigDecimal |
getBigDecimalUserProperty(String key)
Retrieves a specific property by passing its key.
|
BigDecimal |
getBigDecimalUserProperty(String key,
BigDecimal defaultValue)
Retrieves a specific property by passing its key.
|
boolean |
getBooleanProperty(String key)
Retrieves a standard property by passing its key.
|
boolean |
getBooleanProperty(String key,
boolean defaultValue)
Retrieves a standard property by passing its key.
|
boolean |
getBooleanUserProperty(String key)
Retrieves a specific property by passing its key.
|
boolean |
getBooleanUserProperty(String key,
boolean defaultValue)
Retrieves a specific property by passing its key.
|
InputStream |
getCustomFile(String... path)
give read access to a file inside the vdoc.ear/vdoc.war/WEB-INF/storage/custom
|
Path |
getCustomFolder(String... path)
Deprecated.
|
double |
getDoubleProperty(String key)
Retrieves a standard property by passing its key.
|
double |
getDoubleProperty(String key,
double defaultValue)
Retrieves a standard property by passing its key.
|
double |
getDoubleUserProperty(String key)
Retrieves a specific property by passing its key.
|
double |
getDoubleUserProperty(String key,
double defaultValue)
Retrieves a specific property by passing its key.
|
float |
getFloatProperty(String key)
Retrieves a standard property by passing its key.
|
float |
getFloatProperty(String key,
float defaultValue)
Retrieves a standard property by passing its key.
|
float |
getFloatUserProperty(String key)
Retrieves a specific property by passing its key.
|
float |
getFloatUserProperty(String key,
float defaultValue)
Retrieves a specific property by passing its key.
|
int |
getIntegerProperty(String key)
Retrieves a standard property by passing its key.
|
int |
getIntegerProperty(String key,
int defaultValue)
Retrieves a standard property by passing its key.
|
int |
getIntegerUserProperty(String key)
Retrieves a specific property by passing its key.
|
int |
getIntegerUserProperty(String key,
int defaultValue)
Retrieves a specific property by passing its key.
|
long |
getLongProperty(String key)
Retrieves a standard property by passing its key.
|
long |
getLongProperty(String key,
long defaultValue)
Retrieves a standard property by passing its key.
|
long |
getLongUserProperty(String key)
Retrieves a specific property by passing its key.
|
long |
getLongUserProperty(String key,
long defaultValue)
Retrieves a specific property by passing its key.
|
Object |
getObjectUserProperty(String key)
Retrieves a specific property by passing its key.
|
Object |
getObjectUserProperty(String key,
Object defaultValue)
Retrieves a specific property by passing its key.
|
IVersion |
getProductVersion() |
Properties |
getProperties()
Retrieves all standard properties
|
String |
getProperty(String key)
Deprecated.
use getStringProperty() method instead.
|
String[] |
getStringArrayProperty(String key)
Retrieves standard property values by passing its key.
|
String |
getStringProperty(String key)
Retrieves a standard property by passing its key.
|
String |
getStringProperty(String key,
String defaultValue)
Retrieves a standard property by passing its key.
|
String |
getStringUserProperty(String key)
Retrieves a specific property by passing its key.
|
String |
getStringUserProperty(String key,
String defaultValue)
Retrieves a specific property by passing its key.
|
Properties |
getUserProperties()
Retreves all specific properties
|
String |
getUserProperty(String key)
Deprecated.
use getStringUserProperty() method instead.
|
Path |
getWARFolder()
Deprecated.
|
@Deprecated String getProperty(String key)
key
- The key stringboolean getBooleanProperty(String key)
key
- The key stringboolean getBooleanProperty(String key, boolean defaultValue)
key
- The key stringdefaultValue
- The default valuedouble getDoubleProperty(String key)
key
- The key stringdouble getDoubleProperty(String key, double defaultValue)
key
- The key stringdefaultValue
- The default valueBigDecimal getBigDecimalProperty(String key)
key
- The key stringBigDecimal getBigDecimalProperty(String key, BigDecimal defaultValue)
key
- The key stringdefaultValue
- The default valuefloat getFloatProperty(String key)
key
- The key stringfloat getFloatProperty(String key, float defaultValue)
key
- The key stringdefaultValue
- The default valueint getIntegerProperty(String key)
key
- The key stringint getIntegerProperty(String key, int defaultValue)
key
- The key stringdefaultValue
- The default valuelong getLongProperty(String key)
key
- The key stringlong getLongProperty(String key, long defaultValue)
key
- The key stringdefaultValue
- The default valueString getStringProperty(String key)
key
- The key stringString getStringProperty(String key, String defaultValue)
key
- The key stringdefaultValue
- The default valueString[] getStringArrayProperty(String key)
key
- The key string.String
objects.Properties getProperties()
Properties
object@Deprecated String getUserProperty(String key)
key
- The key stringboolean getBooleanUserProperty(String key)
key
- The key stringboolean getBooleanUserProperty(String key, boolean defaultValue)
key
- The key stringdefaultValue
- The default valuedouble getDoubleUserProperty(String key)
key
- The key stringdouble getDoubleUserProperty(String key, double defaultValue)
key
- The key stringdefaultValue
- The default valueBigDecimal getBigDecimalUserProperty(String key)
key
- The key stringBigDecimal getBigDecimalUserProperty(String key, BigDecimal defaultValue)
key
- The key stringdefaultValue
- The default valuefloat getFloatUserProperty(String key)
key
- The key stringfloat getFloatUserProperty(String key, float defaultValue)
key
- The key stringdefaultValue
- The default valueint getIntegerUserProperty(String key)
key
- The key stringint getIntegerUserProperty(String key, int defaultValue)
key
- The key stringdefaultValue
- The default valuelong getLongUserProperty(String key)
key
- The key stringlong getLongUserProperty(String key, long defaultValue)
key
- The key stringdefaultValue
- The default valueObject getObjectUserProperty(String key)
key
- The key stringObject getObjectUserProperty(String key, Object defaultValue)
key
- The key stringdefaultValue
- The default valueString getStringUserProperty(String key)
key
- The key stringString getStringUserProperty(String key, String defaultValue)
key
- The key stringdefaultValue
- The default valueProperties getUserProperties()
Properties
objectInputStream getCustomFile(String... path) throws IOException
path
- the custom folder sub pathsIOException
- IOException@Deprecated Path getWARFolder()
@Deprecated Path getCustomFolder(String... path)
path
- the custom folder sub pathsIVersion getProductVersion()
Copyright © 2022 Visiativ. All rights reserved.