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 inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
ConstructorDescriptionAwsS3EnvironmentRepository
(com.amazonaws.services.s3.AmazonS3 s3Client, String bucketName, ConfigServerProperties server) -
Method Summary
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
-
Field Details
-
order
protected int order
-
-
Constructor Details
-
AwsS3EnvironmentRepository
public AwsS3EnvironmentRepository(com.amazonaws.services.s3.AmazonS3 s3Client, String bucketName, ConfigServerProperties server)
-
-
Method Details
-
getOrder
public int getOrder()- Specified by:
getOrder
in interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order) -
findOne
public Environment findOne(String specifiedApplication, String specifiedProfiles, String specifiedLabel) - Specified by:
findOne
in interfaceEnvironmentRepository
-
getLocations
- Specified by:
getLocations
in interfaceSearchPathLocator
-