org.qi4j.bootstrap

## Class Assemblers.VisibilityConfig<AssemblerType>

- java.lang.Object
- - org.qi4j.bootstrap.Assemblers.VisibilityConfig<AssemblerType>

- Type Parameters:
    `AssemblerType` - Parameterized type of Assembler
  All Implemented Interfaces:
    Assembler, Assemblers.Configurable<AssemblerType>, Assemblers.Visible<AssemblerType>
  Direct Known Subclasses:
    SchedulerAssembler
  Enclosing class:
    Assemblers

      public abstract static class Assemblers.VisibilityConfig<AssemblerType>
      extends Object
      implements Assemblers.Visible<AssemblerType>, Assemblers.Configurable<AssemblerType>

  Assembler with Visibility and Configuration adapter.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Assemblers.VisibilityConfig()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ModuleAssembly` | `configModule()` Get Configuration Module.
    `Visibility` | `configVisibility()` Get Configuration Visibility.
    `boolean` | `hasConfig()`
    `Visibility` | `visibility()` Get Visibility.
    `AssemblerType` | `visibleIn(Visibility visibility)` Set Visibility.
    `AssemblerType` | `withConfig(ModuleAssembly configModule, Visibility configVisibility)` Set Configuration Module and Visibility.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface org.qi4j.bootstrap.Assembler

      `assemble`

- - ### Constructor Detail

    - #### Assemblers.VisibilityConfig

          public Assemblers.VisibilityConfig()

  - ### Method Detail

    - #### visibleIn

          public final AssemblerType visibleIn(Visibility visibility)

      Description copied from interface: `Assemblers.Visible`
      Set Visibility.
      Specified by:
        `visibleIn` in interface `Assemblers.Visible<AssemblerType>`
      Parameters:
        `visibility` - Visibility
      Returns:
        This Assembler instance

    - #### visibility

          public final Visibility visibility()

      Description copied from interface: `Assemblers.Visible`
      Get Visibility.

      Default to `Visibility.module`.

      Specified by:
        `visibility` in interface `Assemblers.Visible<AssemblerType>`
      Returns:
        Visibility

    - #### withConfig

          public final AssemblerType withConfig(ModuleAssembly configModule,
                                 Visibility configVisibility)

      Description copied from interface: `Assemblers.Configurable`
      Set Configuration Module and Visibility.
      Specified by:
        `withConfig` in interface `Assemblers.Configurable<AssemblerType>`
      Parameters:
        `configModule` - Configuration Module
        `configVisibility` - Configuration Visiblity
      Returns:
        This Assembler instance

    - #### hasConfig

          public final boolean hasConfig()

      Specified by:
        `hasConfig` in interface `Assemblers.Configurable<AssemblerType>`
      Returns:
        true if `()` do not return null, false otherwise

    - #### configModule

          public final ModuleAssembly configModule()

      Description copied from interface: `Assemblers.Configurable`
      Get Configuration Module.

      Default to null.

      Specified by:
        `configModule` in interface `Assemblers.Configurable<AssemblerType>`
      Returns:
        Configuration Module

    - #### configVisibility

          public final Visibility configVisibility()

      Description copied from interface: `Assemblers.Configurable`
      Get Configuration Visibility.

      Default to `Visibility.module`.

      Specified by:
        `configVisibility` in interface `Assemblers.Configurable<AssemblerType>`
      Returns:
        Configuration Visibility