Package sonia.scm.repository
Interface RepositoryContentInitializer
@ExtensionPoint
public interface RepositoryContentInitializer
Use this
RepositoryContentInitializer
to create new files with custom content
which will be included in the initial commit of the new repository-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Use this to apply content to new files which should be committed on repository initializationstatic interface
Use thisRepositoryContentInitializer.InitializerContext
to create new files on repository initialization which will be included in the first commit -
Method Summary
Modifier and TypeMethodDescriptionvoid
-
Method Details
-
initialize
- Parameters:
context
- add content to this context in order to commit files in the initial repository commit- Throws:
IOException
-