-
- All Superinterfaces:
Describable
,DigitalProvider<DigitalInputProvider,DigitalInput,DigitalInputConfig>
,Extension<DigitalInputProvider>
,com.pi4j.io.gpio.GpioProvider<DigitalInputProvider,DigitalInput,DigitalInputConfig>
,Identity
,Lifecycle<DigitalInputProvider>
,Provider<DigitalInputProvider,DigitalInput,DigitalInputConfig>
- All Known Implementing Classes:
DigitalInputProviderBase
public interface DigitalInputProvider extends DigitalProvider<DigitalInputProvider,DigitalInput,DigitalInputConfig>
DigitalInputProvider interface.
- Version:
- $Id: $Id
- Author:
- Robert Savage (http://www.savagehomeautomation.com)
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default <T extends DigitalInput>
Tcreate(DigitalInputConfigBuilder builder)
create.default <T extends DigitalInput>
Tcreate(Integer address)
create.default <T extends DigitalInput>
Tcreate(Integer address, String id)
create.default <T extends DigitalInput>
Tcreate(Integer address, String id, String name)
create.default <T extends DigitalInput>
Tcreate(Integer address, String id, String name, String description)
create.-
Methods inherited from interface com.pi4j.common.Identity
description, getDescription, getId, getMetadata, getName, id, metadata, name
-
Methods inherited from interface com.pi4j.common.Lifecycle
initialize, shutdown
-
-
-
-
Method Detail
-
create
default <T extends DigitalInput> T create(DigitalInputConfigBuilder builder)
create.
- Type Parameters:
T
- a T object.- Parameters:
builder
- aDigitalInputConfigBuilder
object.- Returns:
- a T object.
-
create
default <T extends DigitalInput> T create(Integer address)
create.
- Type Parameters:
T
- a T object.- Parameters:
address
- aInteger
object.- Returns:
- a T object.
-
create
default <T extends DigitalInput> T create(Integer address, String id)
create.
-
create
default <T extends DigitalInput> T create(Integer address, String id, String name)
create.
-
-