Class WicaChannelBuilder
java.lang.Object
ch.psi.wica.infrastructure.channel.WicaChannelBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the Wica Channel instance.static WicaChannelBuildercreate()Creates a new WicaChannelBuilder instance ready for further customisations.withChannelNameAndDefaultProperties(String wicaChannelName) Creates a new WicaChannelBuilder instance with the specified channel name and default properties.withChannelNameAndEmptyProperties(String wicaChannelName) Creates a new WicaChannelBuilder instance with the specified channel name and empty properties.withChannelNameAndProperties(String wicaChannelName, WicaChannelProperties wicaChannelProperties) Creates a new WicaChannelBuilder instance with the specified channel name and properties.
-
Method Details
-
create
Creates a new WicaChannelBuilder instance ready for further customisations.- Returns:
- the instance.
-
withChannelNameAndEmptyProperties
Creates a new WicaChannelBuilder instance with the specified channel name and empty properties.- Parameters:
wicaChannelName- the channel name.
-
withChannelNameAndDefaultProperties
Creates a new WicaChannelBuilder instance with the specified channel name and default properties.- Parameters:
wicaChannelName- the channel name.
-
withChannelNameAndProperties
public WicaChannelBuilder withChannelNameAndProperties(String wicaChannelName, WicaChannelProperties wicaChannelProperties) Creates a new WicaChannelBuilder instance with the specified channel name and properties.- Parameters:
wicaChannelName- the channel name.wicaChannelProperties- the channel properties.- Returns:
- the instance.
-
build
Builds the Wica Channel instance. .- Returns:
- the constructed WicaChannel.
-