Class InternalProjectInitializer
java.lang.Object
com.linecorp.centraldogma.server.storage.project.InternalProjectInitializer
Initializes the internal project and repositories.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInternalProjectInitializer
(CommandExecutor executor, ProjectManager projectManager) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Creates an internal project and repositories and a token storage todogma/dogma/tokens.json
.void
initialize
(String projectName) Creates the specified internal project and its internal repositories.tokens()
Returns theTokens
.Returns aCompletableFuture
which is completed when the internal project and repositories are ready.
-
Field Details
-
INTERNAL_PROJECT_DOGMA
- See Also:
-
-
Constructor Details
-
InternalProjectInitializer
Creates a new instance.
-
-
Method Details
-
initialize
public void initialize()Creates an internal project and repositories and a token storage todogma/dogma/tokens.json
. -
initialize
Creates the specified internal project and its internal repositories. -
whenInitialized
Returns aCompletableFuture
which is completed when the internal project and repositories are ready. -
tokens
Returns theTokens
.
-