public final class ImmutableMetaProperties extends Object implements MetaProperties
Constructor and Description |
---|
ImmutableMetaProperties(String name,
String keyInFile,
String defaultValue,
Class<?> dataType)
constructor
|
public ImmutableMetaProperties(String name, String keyInFile, String defaultValue, Class<?> dataType)
keyInFile
- xpath expression to the property in the config filedefaultValue
- default value of property in case its not specified or found in config files.dataType
- expected data type of the propertypublic String getKeyInFile()
getKeyInFile
in interface MetaProperties
public String getDefaultValue()
getDefaultValue
in interface MetaProperties
public Class<?> getDataType()
getDataType
in interface MetaProperties
public String getName()
getName
in interface MetaProperties
Copyright © 2017 WSO2. All rights reserved.