Class CentralDogmaBeanConfigBuilder
java.lang.Object
com.linecorp.centraldogma.client.updater.CentralDogmaBeanConfigBuilder
Builds a
CentralDogmaBeanConfig
.-
Constructor Summary
ConstructorDescriptionCreates a new builder whose all properties are unspecified.Creates a new builder from the properties of aCentralDogmaBean
annotation.Creates a new builder from an existingCentralDogmaBeanConfig
. -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Returns a newly-createdCentralDogmaBeanConfig
.Sets the JSON path expression that will be evaluated when retrieving the file.merge
(CentralDogmaBeanConfig config) Merges the properties of the specifiedCentralDogmaBeanConfig
into this builder.Sets the path of the file in Central Dogma.Sets the Central Dogma project name.repository
(String repository) Sets the Central Dogma repository name.
-
Constructor Details
-
CentralDogmaBeanConfigBuilder
public CentralDogmaBeanConfigBuilder()Creates a new builder whose all properties are unspecified. -
CentralDogmaBeanConfigBuilder
Creates a new builder from an existingCentralDogmaBeanConfig
. This method is a shortcut ofnew CentralDogmaBeanConfigBuilder().merge(config)
-
CentralDogmaBeanConfigBuilder
Creates a new builder from the properties of aCentralDogmaBean
annotation.
-
-
Method Details
-
merge
Merges the properties of the specifiedCentralDogmaBeanConfig
into this builder. -
project
Sets the Central Dogma project name. -
repository
Sets the Central Dogma repository name. -
path
Sets the path of the file in Central Dogma. -
jsonPath
Sets the JSON path expression that will be evaluated when retrieving the file. -
build
Returns a newly-createdCentralDogmaBeanConfig
.
-