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
ConstructorDescriptionCredHubInfoTemplate
(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
- theCredHubOperations
to use for interactions with CredHub
-
-
Method Details
-
version
Retrieve the version information from the CredHub server.- Specified by:
version
in interfaceCredHubInfoOperations
- Returns:
- the server version information
-