Class PluginInitContext
java.lang.Object
com.linecorp.centraldogma.server.plugin.PluginContext
com.linecorp.centraldogma.server.plugin.PluginInitContext
A context that is used to pass when calling
AllReplicasPlugin.init(PluginInitContext)
.-
Constructor Summary
ConstructorsConstructorDescriptionPluginInitContext
(CentralDogmaConfig config, ProjectManager projectManager, CommandExecutor commandExecutor, MeterRegistry meterRegistry, ScheduledExecutorService purgeWorker, ServerBuilder serverBuilder, Function<? super HttpService, AuthService> authService, InternalProjectInitializer projectInitializer) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionFunction
<? super HttpService, AuthService> Returns theAuthService
of the Central Dogma server.Returns theServerBuilder
of the Central Dogma server.Methods inherited from class com.linecorp.centraldogma.server.plugin.PluginContext
commandExecutor, config, internalProjectInitializer, meterRegistry, projectManager, purgeWorker
-
Constructor Details
-
PluginInitContext
public PluginInitContext(CentralDogmaConfig config, ProjectManager projectManager, CommandExecutor commandExecutor, MeterRegistry meterRegistry, ScheduledExecutorService purgeWorker, ServerBuilder serverBuilder, Function<? super HttpService, AuthService> authService, InternalProjectInitializer projectInitializer) Creates a new instance.
-
-
Method Details
-
serverBuilder
Returns theServerBuilder
of the Central Dogma server. -
authService
Returns theAuthService
of the Central Dogma server.
-