public static class DefaultPiPipeconf.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
DefaultPiPipeconf.Builder |
addBehaviour(Class<? extends Behaviour> clazz,
Class<? extends Behaviour> implementation)
Adds a behaviour to this pipeconf.
|
DefaultPiPipeconf.Builder |
addExtension(PiPipeconf.ExtensionType type,
URL url)
Adds an extension to this pipeconf.
|
PiPipeconf |
build()
Creates a new pipeconf.
|
DefaultPiPipeconf.Builder |
withId(PiPipeconfId id)
Sets the identifier of this pipeconf.
|
DefaultPiPipeconf.Builder |
withPipelineModel(PiPipelineModel model)
Sets the pipeline model of this pipeconf.
|
public DefaultPiPipeconf.Builder withId(PiPipeconfId id)
id
- pipeconf identifierpublic DefaultPiPipeconf.Builder withPipelineModel(PiPipelineModel model)
model
- pipeline modelpublic DefaultPiPipeconf.Builder addBehaviour(Class<? extends Behaviour> clazz, Class<? extends Behaviour> implementation)
clazz
- behavior interface classimplementation
- behavior implementation classpublic DefaultPiPipeconf.Builder addExtension(PiPipeconf.ExtensionType type, URL url)
type
- extension typeurl
- url pointing at the extension filepublic PiPipeconf build()