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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description void
doInitialize()
Runs initialization logic for a component denoted bygetComponent()
method.java.lang.String
getComponent()
Defines the component to which this initialization belongs.default java.lang.Integer
getPriority()
Defines priority in which initialization will be executed.
-
-
-
Method Detail
-
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
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.
-
-