public class BuildTimeConfig extends BuildTimeConfig
This is a wrapper for a java.util.Properties object.
| Modifier and Type | Field and Description |
|---|---|
private Properties |
props
The underlying properties object
|
| Constructor and Description |
|---|
BuildTimeConfig(String property_file_property) |
BuildTimeConfig(String property_file_property,
String default_property_file) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String name)
Return a property of type boolean
|
boolean |
getBooleanProperty(String name,
boolean dflt)
Return a property of type boolean, with default.
|
int |
getIntProperty(String name)
Return a property of type int
|
int |
getIntProperty(String name,
int dflt)
Return a property of type String, with default.
|
String |
getPlanName() |
private Properties |
getProperties(String property_file_property,
String default_property_file) |
String |
getStringProperty(String name)
Return a property of type String
|
String |
getStringProperty(String name,
String dflt)
Return a property of type String, with default.
|
private final Properties props
public BuildTimeConfig(String property_file_property, String default_property_file)
public BuildTimeConfig(String property_file_property)
private Properties getProperties(String property_file_property, String default_property_file)
property_file_property - The name of the property that sets
the location of the properties filedefault_property_file - The default properties file.public String getPlanName()
getPlanName in class BuildTimeConfigpublic boolean getBooleanProperty(String name, boolean dflt)
BuildTimeConfiggetBooleanProperty in class BuildTimeConfigname - The name of the propertydflt - Default valuepublic boolean getBooleanProperty(String name)
BuildTimeConfiggetBooleanProperty in class BuildTimeConfigname - The name of the propertypublic int getIntProperty(String name, int dflt)
BuildTimeConfiggetIntProperty in class BuildTimeConfigname - The name of the propertydflt - Default valuepublic int getIntProperty(String name)
BuildTimeConfiggetIntProperty in class BuildTimeConfigname - The name of the propertypublic String getStringProperty(String name, String dflt)
BuildTimeConfiggetStringProperty in class BuildTimeConfigname - The name of the propertydflt - Default valuepublic String getStringProperty(String name)
BuildTimeConfiggetStringProperty in class BuildTimeConfigname - The name of the property