Class CredHubInfoTemplate
java.lang.Object
org.springframework.credhub.core.info.CredHubInfoTemplate
- All Implemented Interfaces:
CredHubInfoOperations
Implements the interaction with CredHub retrieve server information.
- Author:
- Scott Frederick
-
Constructor Summary
ConstructorsConstructorDescriptionCredHubInfoTemplate(CredHubOperations credHubOperations) Create a newCredHubInfoTemplate. -
Method Summary
Modifier and TypeMethodDescriptionversion()Retrieve the version information from the CredHub server.
-
Constructor Details
-
CredHubInfoTemplate
Create a newCredHubInfoTemplate.- Parameters:
credHubOperations- theCredHubOperationsto use for interactions with CredHub
-
-
Method Details
-
version
Retrieve the version information from the CredHub server.- Specified by:
versionin interfaceCredHubInfoOperations- Returns:
- the server version information
-