Class WicaChannelBuilder

java.lang.Object
ch.psi.wica.infrastructure.channel.WicaChannelBuilder

public class WicaChannelBuilder extends Object
  • Method Details

    • create

      public static WicaChannelBuilder create()
      Creates a new WicaChannelBuilder instance ready for further customisations.
      Returns:
      the instance.
    • withChannelNameAndEmptyProperties

      public WicaChannelBuilder withChannelNameAndEmptyProperties(String wicaChannelName)
      Creates a new WicaChannelBuilder instance with the specified channel name and empty properties.
      Parameters:
      wicaChannelName - the channel name.
    • withChannelNameAndDefaultProperties

      public WicaChannelBuilder withChannelNameAndDefaultProperties(String wicaChannelName)
      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

      public WicaChannel build()
      Builds the Wica Channel instance. .
      Returns:
      the constructed WicaChannel.