|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServerInfo
ServerInfo
This object provides information about the currently used server. Please
note that not all server provide all information. If this is the case
null
is returned.
Field Summary | |
---|---|
static java.lang.String |
BUILD_NUMBER_PROPERTY
|
static java.lang.String |
DESCRIPTION_PROPERTY
|
static java.lang.String |
MAJOR_VERSION_PROPERTY
|
static java.lang.String |
MINOR_VERSION_PROPERTY
|
static java.lang.String |
SECURITY_INFO_PROPERTY
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the server name or null if server does
not provide it |
java.lang.String |
getProperty(java.lang.String id)
Returns the value for the property which is specified by the given id. |
java.lang.String[] |
getPropertyIds()
Returns all property ids known to the current used server. |
java.lang.String |
getType()
Returns the server type or null if server does
not provide it. |
java.lang.String |
getVersion()
Returns the server version name or null if server does
not provide it |
Field Detail |
---|
static final java.lang.String SECURITY_INFO_PROPERTY
static final java.lang.String BUILD_NUMBER_PROPERTY
static final java.lang.String MINOR_VERSION_PROPERTY
static final java.lang.String MAJOR_VERSION_PROPERTY
static final java.lang.String DESCRIPTION_PROPERTY
Method Detail |
---|
java.lang.String getName()
null
if server does
not provide it
null
java.lang.String getVersion()
null
if server does
not provide it
null
java.lang.String getType()
null
if server does
not provide it.
null
java.lang.String[] getPropertyIds()
java.lang.String getProperty(java.lang.String id)
null
is returned.
id
- the property identifier
null
if no such property was
defined
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |