public interface ConfigParam<T>
Modifier and Type | Method and Description |
---|---|
String |
getAlternateName()
Returns the alternate name of the config param (or null if there is not an alternate name).
|
boolean |
getBooleanValue(T config)
Returns the boolean value of the config param.
|
String |
getConfiguredValue(T config)
Returns the value of the config param that was specified in the configuration file.
|
boolean |
getDefaultBooleanValue()
Returns the default boolean value of the config param.
|
int |
getDefaultIntegerValue()
Returns the default int value of the config param.
|
long |
getDefaultLongValue()
Returns the default long value of the config param.
|
String |
getDefaultStringValue()
Returns the default String value of the config param.
|
int |
getIntegerValue(T config)
Returns the int value of the config param.
|
long |
getLongValue(T config)
Returns the long value of the config param.
|
String |
getName()
Returns the name of the config param.
|
String |
getStringValue(T config)
Returns the String value of the config param.
|
boolean |
isConfigured(T config)
Flag indicating whether or not the config param was specified in the configuration file.
|
String getAlternateName()
boolean getBooleanValue(T config)
getDefaultBooleanValue()
is returned.String getConfiguredValue(T config)
boolean getDefaultBooleanValue()
int getDefaultIntegerValue()
long getDefaultLongValue()
String getDefaultStringValue()
int getIntegerValue(T config)
getDefaultIntegerValue()
is returned.long getLongValue(T config)
getDefaultLongValue()
is returned.String getName()
String getStringValue(T config)
getDefaultStringValue()
is returned.boolean isConfigured(T config)
Copyright © 2018 Liferay, Inc.. All rights reserved.