@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 |
---|---|
java.util.Collection<java.lang.Class<? extends Behaviour>> |
behaviours()
Returns all pipeline-specific behaviour interfaces defined by this configuration.
|
java.util.Optional<java.io.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.
|
boolean |
hasBehaviour(java.lang.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.
|
java.util.Optional<java.lang.Class<? extends Behaviour>> |
implementation(java.lang.Class<? extends Behaviour> behaviour)
Returns the implementation class for the given behaviour, if present.
|
PiPipelineModel |
pipelineModel()
Returns the pipeline model.
|
PiPipeconfId id()
PiPipelineModel pipelineModel()
java.util.Collection<java.lang.Class<? extends Behaviour>> behaviours()
java.util.Optional<java.lang.Class<? extends Behaviour>> implementation(java.lang.Class<? extends Behaviour> behaviour)
behaviour
- behaviour interfaceboolean hasBehaviour(java.lang.Class<? extends Behaviour> behaviourClass)
behaviourClass
- behaviour classjava.util.Optional<java.io.InputStream> extension(PiPipeconf.ExtensionType type)
type
- extension type