Class AwsS3EnvironmentRepository
- java.lang.Object
-
- org.springframework.cloud.config.server.environment.AwsS3EnvironmentRepository
-
- All Implemented Interfaces:
EnvironmentRepository,SearchPathLocator,org.springframework.core.Ordered
public class AwsS3EnvironmentRepository extends Object implements EnvironmentRepository, org.springframework.core.Ordered, SearchPathLocator
- Author:
- Clay McCoy, Scott Frederick
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.springframework.cloud.config.server.environment.SearchPathLocator
SearchPathLocator.Locations
-
-
Field Summary
Fields Modifier and Type Field Description protected intorder
-
Constructor Summary
Constructors Constructor Description AwsS3EnvironmentRepository(com.amazonaws.services.s3.AmazonS3 s3Client, String bucketName, ConfigServerProperties server)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnvironmentfindOne(String specifiedApplication, String specifiedProfiles, String specifiedLabel)SearchPathLocator.LocationsgetLocations(String application, String profiles, String label)intgetOrder()voidsetOrder(int order)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.springframework.cloud.config.server.environment.EnvironmentRepository
findOne
-
-
-
-
Constructor Detail
-
AwsS3EnvironmentRepository
public AwsS3EnvironmentRepository(com.amazonaws.services.s3.AmazonS3 s3Client, String bucketName, ConfigServerProperties server)
-
-
Method Detail
-
getOrder
public int getOrder()
- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-
findOne
public Environment findOne(String specifiedApplication, String specifiedProfiles, String specifiedLabel)
- Specified by:
findOnein interfaceEnvironmentRepository
-
getLocations
public SearchPathLocator.Locations getLocations(String application, String profiles, String label)
- Specified by:
getLocationsin interfaceSearchPathLocator
-
-