Interface RepositoryInitialization


  • public interface RepositoryInitialization
    Interface for classes which initialize an empty XL repository for a product or a plugin. Initializations are ran in alphabetical order per component.
    • Method Detail

      • doInitialize

        void doInitialize()
        Runs initialization logic for a component denoted by getComponent() method. Typically initializations create additional nodes in repository, setup default configuration CIs etc.
      • getComponent

        java.lang.String getComponent()
        Defines the component to which this initialization belongs.
        Returns:
        the name of the component.
      • getPriority

        default java.lang.Integer getPriority()
        Defines priority in which initialization will be executed. Lower priority initializers will be executed first.
        Returns:
        priority of the component.