public final class DefaultPiPipeconf extends Object implements PiPipeconf
| Modifier and Type | Class and Description |
|---|---|
static class |
DefaultPiPipeconf.Builder
Builder of pipeconf implementations.
|
PiPipeconf.ExtensionType| Modifier and Type | Method and Description |
|---|---|
Collection<Class<? extends Behaviour>> |
behaviours()
Returns all pipeline-specific behaviour interfaces defined by this configuration.
|
static DefaultPiPipeconf.Builder |
builder()
Returns a new pipeconf builder.
|
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.
|
public PiPipeconfId id()
PiPipeconfid in interface PiPipeconfpublic PiPipelineModel pipelineModel()
PiPipeconfpipelineModel in interface PiPipeconfpublic long fingerprint()
PiPipeconffingerprint in interface PiPipeconfpublic Collection<Class<? extends Behaviour>> behaviours()
PiPipeconfbehaviours in interface PiPipeconfpublic Optional<Class<? extends Behaviour>> implementation(Class<? extends Behaviour> behaviour)
PiPipeconfimplementation in interface PiPipeconfbehaviour - behaviour interfacepublic boolean hasBehaviour(Class<? extends Behaviour> behaviourClass)
PiPipeconfhasBehaviour in interface PiPipeconfbehaviourClass - behaviour classpublic Optional<InputStream> extension(PiPipeconf.ExtensionType type)
PiPipeconfextension in interface PiPipeconftype - extension typepublic static DefaultPiPipeconf.Builder builder()