@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 behaviour interfaces defined by this configuration.
|
Optional<InputStream> |
extension(PiPipeconf.ExtensionType type)
Returns, if present, an input stream pointing at the beginning of a file representing a device-specific or
control protocol-specific extension of this configuration.
|
long |
fingerprint()
Returns the fingerprint of pipeconf.
|
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()
long fingerprint()
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<InputStream> extension(PiPipeconf.ExtensionType type)
type
- extension type