Class MongoDbEnvironmentProperties

java.lang.Object
org.springframework.cloud.config.server.environment.MongoDbEnvironmentProperties
All Implemented Interfaces:
EnvironmentRepositoryProperties

@ConfigurationProperties("spring.cloud.config.server.mongodb") public class MongoDbEnvironmentProperties extends Object implements EnvironmentRepositoryProperties
Properties related to MongoDB environment repository.
Author:
Alexandros Pappas
  • Constructor Details

    • MongoDbEnvironmentProperties

      public MongoDbEnvironmentProperties()
  • Method Details

    • isEnabled

      public boolean isEnabled()
    • setEnabled

      public void setEnabled(boolean enabled)
    • getOrder

      public int getOrder()
    • setOrder

      public void setOrder(int order)
      Specified by:
      setOrder in interface EnvironmentRepositoryProperties
    • getCollection

      public String getCollection()
    • setCollection

      public void setCollection(String collection)
    • isFailOnError

      public boolean isFailOnError()
    • setFailOnError

      public void setFailOnError(boolean failOnError)
    • getDefaultLabel

      public String getDefaultLabel()
    • setDefaultLabel

      public void setDefaultLabel(String defaultLabel)