@Beta
public interface PiPipeconf
| Modifier and Type | Interface and Description |
|---|---|
static class |
PiPipeconf.ExtensionType
Type of extension of a protocol-independent pipeline configuration.
|
| Modifier and Type | Method and Description |
|---|---|
Collection<Class<? extends Behaviour>> |
behaviours()
Returns all pipeline-specific behaviours defined by this configuration.
|
Optional<ByteBuffer> |
extension(PiPipeconf.ExtensionType type)
Returns, if present, an arbitrary sequence of bytes representing a device-specific or control
protocol-specific extension of this configuration.
|
boolean |
hasBehaviour(Class<? extends Behaviour> behaviourClass)
Indicates whether or not the pipeconf supports the specified class of behaviour.
|
PiPipeconfId |
id()
Returns the identifier of this pipeline configuration.
|
Optional<Class<? extends Behaviour>> |
implementation(Class<? extends Behaviour> behaviour)
Returns the implementation class for the given behaviour, if present.
|
PiPipelineModel |
pipelineModel()
Returns the pipeline model.
|
PiPipeconfId id()
PiPipelineModel pipelineModel()
Collection<Class<? extends Behaviour>> behaviours()
Optional<Class<? extends Behaviour>> implementation(Class<? extends Behaviour> behaviour)
behaviour - behaviour interfaceboolean hasBehaviour(Class<? extends Behaviour> behaviourClass)
behaviourClass - behaviour classOptional<ByteBuffer> extension(PiPipeconf.ExtensionType type)
type - extension type