public class ConfigurationBuilderUtil
extends java.lang.Object
Constructor and Description |
---|
ConfigurationBuilderUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Boolean |
getBooleanProperty(java.lang.String name,
java.lang.Boolean def,
java.util.Properties props)
Get a boolean property that tunes pass-through http transport.
|
static java.lang.Boolean |
getBooleanProperty(java.lang.String name,
java.util.Properties props)
Get a Boolean property that tunes pass-through http transport.
|
static java.lang.Integer |
getIntProperty(java.lang.String name,
java.lang.Integer def,
java.util.Properties props)
Get an int property that tunes pass-through http transport.
|
static java.lang.Integer |
getIntProperty(java.lang.String name,
java.util.Properties props)
Get an int property that tunes pass-through http transport.
|
static java.lang.Long |
getLongProperty(java.lang.String name,
java.lang.Long def,
java.util.Properties props) |
static java.lang.String |
getStringProperty(java.lang.String name,
java.lang.String def,
java.util.Properties props)
Get a String property that tunes pass-through http transport.
|
static boolean |
isIntPropertyConfigured(java.lang.String name,
java.util.Properties props)
Return true if user has configured an int property that tunes pass-through http transport.
|
public static java.lang.Integer getIntProperty(java.lang.String name, java.lang.Integer def, java.util.Properties props)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic static boolean isIntPropertyConfigured(java.lang.String name, java.util.Properties props)
name
- name of the system/config propertypublic static java.lang.Integer getIntProperty(java.lang.String name, java.util.Properties props)
name
- name of the system/config propertypublic static java.lang.Long getLongProperty(java.lang.String name, java.lang.Long def, java.util.Properties props)
public static java.lang.Boolean getBooleanProperty(java.lang.String name, java.lang.Boolean def, java.util.Properties props)
name
- name of the system/config propertydef
- default value to return if the property is not setpublic static java.lang.Boolean getBooleanProperty(java.lang.String name, java.util.Properties props)
name
- name of the system/config propertypublic static java.lang.String getStringProperty(java.lang.String name, java.lang.String def, java.util.Properties props)
name
- name of the system/config propertydef
- default value to return if the property is not setCopyright © 2005-2022 Apache Software Foundation. All Rights Reserved.