-
- All Superinterfaces:
Builder<CONFIG_TYPE>
- All Known Subinterfaces:
AddressConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,AnalogConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,AnalogInputConfigBuilder
,AnalogOutputConfigBuilder
,DeviceConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,DigitalConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,DigitalInputConfigBuilder
,DigitalOutputConfigBuilder
,com.pi4j.io.gpio.GpioConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,I2CConfigBuilder
,IOAddressConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,IOConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,IODeviceConfigBuilder<BUILDER_TYPE,CONFIG_TYPE>
,PwmConfigBuilder
,SerialConfigBuilder
,SpiConfigBuilder
public interface ConfigBuilder<BUILDER_TYPE,CONFIG_TYPE> extends Builder<CONFIG_TYPE>
ConfigBuilder interface.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
-
-
-
Method Detail
-
id
BUILDER_TYPE id(String id)
id.
- Parameters:
id
- aString
object.- Returns:
- a BUILDER_TYPE object.
-
id
String id()
-
name
BUILDER_TYPE name(String name)
name.
- Parameters:
name
- aString
object.- Returns:
- a BUILDER_TYPE object.
-
description
BUILDER_TYPE description(String description)
description.
- Parameters:
description
- aString
object.- Returns:
- a BUILDER_TYPE object.
-
inheritProperties
BUILDER_TYPE inheritProperties(Boolean allow)
inheritProperties.
- Parameters:
allow
- aBoolean
object.- Returns:
- a BUILDER_TYPE object.
-
allowInheritProperties
default BUILDER_TYPE allowInheritProperties()
allowInheritProperties.
- Returns:
- a BUILDER_TYPE object.
-
disallowInheritProperties
default BUILDER_TYPE disallowInheritProperties()
disallowInheritProperties.
- Returns:
- a BUILDER_TYPE object.
-
load
BUILDER_TYPE load(Map<String,String> properties)
load.
- Parameters:
properties
- aMap
object.- Returns:
- a BUILDER_TYPE object.
-
load
BUILDER_TYPE load(Properties properties)
load.
- Parameters:
properties
- aProperties
object.- Returns:
- a BUILDER_TYPE object.
-
load
BUILDER_TYPE load(Map<String,String> properties, String prefixFilter)
load.
-
load
BUILDER_TYPE load(Properties properties, String prefixFilter)
load.
- Parameters:
properties
- aProperties
object.prefixFilter
- aString
object.- Returns:
- a BUILDER_TYPE object.
-
load
BUILDER_TYPE load(InputStream stream) throws IOException
load.
- Parameters:
stream
- aInputStream
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingstream
.
-
load
BUILDER_TYPE load(InputStream stream, String prefixFilter) throws IOException
load.
- Parameters:
stream
- aInputStream
object.prefixFilter
- aString
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingstream
.
-
load
BUILDER_TYPE load(Reader reader) throws IOException
load.
- Parameters:
reader
- aReader
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingreader
.
-
load
BUILDER_TYPE load(Reader reader, String prefixFilter) throws IOException
load.
- Parameters:
reader
- aReader
object.prefixFilter
- aString
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingreader
.
-
load
BUILDER_TYPE load(File file) throws IOException
load.
- Parameters:
file
- aFile
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingfile
.
-
load
BUILDER_TYPE load(File file, String prefixFilter) throws IOException
load.
- Parameters:
file
- aFile
object.prefixFilter
- aString
object.- Returns:
- a BUILDER_TYPE object.
- Throws:
IOException
- if an error occurs accessingfile
.
-
-