Class CentralDogmaBeanConfig
java.lang.Object
com.linecorp.centraldogma.client.updater.CentralDogmaBeanConfig
Provides the necessary information to
CentralDogmaBeanFactory
so that the bean properties are
mirrored from a file in Central Dogma.- See Also:
-
Constructor Summary
ConstructorDescriptionCentralDogmaBeanConfig
(String project, String repository, String path, String jsonPath) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionboolean
int
hashCode()
jsonPath()
Returns the JSON path expression that will be evaluated when retrieving the file.path()
Returns the path of the file in Central Dogma.project()
Returns the Central Dogma project name.Returns the Central Dogma repository name.toString()
-
Constructor Details
-
CentralDogmaBeanConfig
public CentralDogmaBeanConfig(@Nullable String project, @Nullable String repository, @Nullable String path, @Nullable String jsonPath) Creates a new instance.- Parameters:
project
- the Central Dogma project namerepository
- the Central Dogma repository namepath
- the path of the file in Central DogmajsonPath
- the JSON path expression that will be evaluated when retrieving the file
-
-
Method Details
-
project
Returns the Central Dogma project name.- Returns:
Optional.empty()
if the project name is unspecified
-
repository
Returns the Central Dogma repository name.- Returns:
Optional.empty()
if the repository name is unspecified
-
path
Returns the path of the file in Central Dogma.- Returns:
Optional.empty()
if the path is unspecified
-
jsonPath
Returns the JSON path expression that will be evaluated when retrieving the file.- Returns:
Optional.empty()
if the JSON path expression is unspecified
-
equals
-
hashCode
public int hashCode() -
toString
-