|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.util.Dictionary<K,V> java.util.Hashtable<Object,Object> java.util.Properties net.sf.farrago.release.FarragoReleaseProperties
public class FarragoReleaseProperties
Provides immutable properties burned into a particular release of Farrago.
See FarragoProperties
for an explanation of what
NOT to define here. In addition, no site-specific property should ever be
defined here.
Products and projects which embed or rebrand Farrago rely on being able to control this information in a self-contained location (typically a file named FarragoRelease.properties in the root of the release jar).
Note that the default values defined in this class are not appropriate for real releases; they are only defined to allow developer builds to run without a properties file.
Field Summary | |
---|---|
private static FarragoReleaseProperties |
instance
|
StringProperty |
jdbcDriverName
Name of the JDBC driver as reported via java.sql.DatabaseMetaData. |
IntegerProperty |
jdbcDriverVersionMajor
JDBC driver major version number as reported via java.sql.DatabaseMetaData. |
IntegerProperty |
jdbcDriverVersionMinor
JDBC driver minor version number as reported via java.sql.DatabaseMetaData. |
StringProperty |
jdbcUrlBase
Base string for JDBC connection URL. |
IntegerProperty |
jdbcUrlHttpPortDefault
Default port to use for JDBC connections over HTTP. |
IntegerProperty |
jdbcUrlPortDefault
Default port to use for JDBC connections. |
StringProperty |
packageName
Base name of the released package for package management systems such as rpm and deb. |
StringProperty |
productName
Name of the product (e.g. |
IntegerProperty |
productVersionMajor
Major version number for the product. |
IntegerProperty |
productVersionMinor
Minor version number for the product. |
IntegerProperty |
productVersionPoint
Point-release version number for the product. |
Fields inherited from class java.util.Properties |
---|
defaults |
Constructor Summary | |
---|---|
FarragoReleaseProperties()
|
Method Summary | |
---|---|
static FarragoReleaseProperties |
instance()
|
Methods inherited from class java.util.Properties |
---|
getProperty, getProperty, list, list, load, loadFromXML, propertyNames, save, setProperty, store, storeToXML, storeToXML |
Methods inherited from class java.util.Hashtable |
---|
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static FarragoReleaseProperties instance
public final StringProperty packageName
public final StringProperty productName
public final IntegerProperty productVersionMajor
public final IntegerProperty productVersionMinor
public final IntegerProperty productVersionPoint
public final StringProperty jdbcDriverName
public final IntegerProperty jdbcDriverVersionMajor
public final IntegerProperty jdbcDriverVersionMinor
public final StringProperty jdbcUrlBase
public final IntegerProperty jdbcUrlPortDefault
public final IntegerProperty jdbcUrlHttpPortDefault
Constructor Detail |
---|
public FarragoReleaseProperties()
Method Detail |
---|
public static FarragoReleaseProperties instance()
singleton
properties object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |