Interface ModuleInfoBuilder


public interface ModuleInfoBuilder

A module info builder is used to create Module info from beans, sockets and required modules.

Author:
Jeremy Kuhn
  • Method Details

    • getElement

      ModuleElement getElement()

      Returns the module element.

      Returns:
      A module element
    • getQualifiedName

      ModuleQualifiedName getQualifiedName()

      Returns the qualified name of the module being build by the builder.

      Returns:
      a module qualified name
    • beans

      Sets the beans that should be part of the module.

      Parameters:
      beans - an array of bean info
      Returns:
      the module info builder
    • sockets

      ModuleInfoBuilder sockets(SocketBeanInfo[] sockets)

      Sets the sockets that should be part of the module.

      Parameters:
      sockets - an array of socket info
      Returns:
      the module info builder
    • modules

      ModuleInfoBuilder modules(ModuleInfo[] modules)

      Sets the modules that should be part of the module.

      Parameters:
      modules - an array of module info
      Returns:
      the module info builder
    • build

      ModuleInfo build()

      Builds the module.

      Returns:
      a module info