Class CredhubEnvironmentRepository
java.lang.Object
org.springframework.cloud.config.server.environment.CredhubEnvironmentRepository
- All Implemented Interfaces:
EnvironmentRepository, org.springframework.core.Ordered
public class CredhubEnvironmentRepository
extends Object
implements EnvironmentRepository, org.springframework.core.Ordered
- Author:
- Alberto C. RĂos, KNV Srinivas
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
ConstructorsConstructorDescriptionCredhubEnvironmentRepository(org.springframework.credhub.core.CredHubOperations credHubOperations) CredhubEnvironmentRepository(org.springframework.credhub.core.CredHubOperations credHubOperations, CredhubEnvironmentProperties properties) -
Method Summary
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EnvironmentRepository
findOne
-
Constructor Details
-
CredhubEnvironmentRepository
public CredhubEnvironmentRepository(org.springframework.credhub.core.CredHubOperations credHubOperations) -
CredhubEnvironmentRepository
public CredhubEnvironmentRepository(org.springframework.credhub.core.CredHubOperations credHubOperations, CredhubEnvironmentProperties properties)
-
-
Method Details
-
findOne
public org.springframework.cloud.config.environment.Environment findOne(String application, String profile, String label) - Specified by:
findOnein interfaceEnvironmentRepository
-
getOrder
public int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
setOrder
public void setOrder(int order)
-