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 TypeMethodDescriptionvoid
Runs initialization logic for a component denoted bygetComponent()
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 bygetComponent()
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
Defines priority in which initialization will be executed. Lower priority initializers will be executed first.- Returns:
- priority of the component.
-