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 Summary

    Modifier and Type
    Method
    Description
    void
    Runs initialization logic for a component denoted by getComponent() method.
    Defines the component to which this initialization belongs.
    default Integer
    Defines priority in which initialization will be executed.
  • Method Details

    • 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

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

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