Package com.enonic.xp.init

## Class Initializer.Builder<T extends Initializer.Builder>

- java.lang.Object
- - com.enonic.xp.init.Initializer.Builder<T>

- Direct Known Subclasses:
    `ExternalInitializer.Builder`
  Enclosing class:
    Initializer

      public abstract static class Initializer.Builder<T extends Initializer.Builder>
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor | Description
    --- | ---
    `Builder()` |

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method | Description
    --- | --- | ---
    `T` | `forceInitialization​(boolean forceInitialization)` | Allows to call initializer from non-master cluster node.
    `T` | `setInitializationCheckMaxCount​(Long initializationCheckMaxCount)` |
    `T` | `setInitializationCheckPeriod​(Long initializationCheckPeriod)` |

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

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

- - ### Constructor Detail

    - #### Builder

          public Builder()

  - ### Method Detail

    - #### setInitializationCheckPeriod

          public T setInitializationCheckPeriod​(Long initializationCheckPeriod)

    - #### setInitializationCheckMaxCount

          public T setInitializationCheckMaxCount​(Long initializationCheckMaxCount)

    - #### forceInitialization

          public T forceInitialization​(boolean forceInitialization)

      Allows to call initializer from non-master cluster node. IMPORTANT: do not change for any multi-cluster-node calls(app's main.js etc.)
      Parameters:
        `forceInitialization` - force initialization value.