Class VersionInfoProperties
java.lang.Object
org.springframework.cloud.dataflow.server.config.VersionInfoProperties
@ConfigurationProperties(prefix="spring.cloud.dataflow.version-info")
public class VersionInfoProperties
extends Object
Properties for version information of core dependencies.
- Author:
- Gunnar Hillert, Glenn Renfro
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
The dependencies that will be returned by the about controller.static class
Information about the dependency.static class
Represents whether dependency information should be returned as a part of the about result set. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setDependencies
(VersionInfoProperties.Dependencies dependencies) Establishes theVersionInfoProperties.Dependencies
instance that contains information about the dependencies.void
setDependencyFetch
(VersionInfoProperties.DependencyStatus dependencyFetch) Establish whether checksum information should be returned.
-
Field Details
-
VERSION_INFO_PREFIX
- See Also:
-
-
Constructor Details
-
VersionInfoProperties
public VersionInfoProperties()
-
-
Method Details
-
getDependencyFetch
- Returns:
- instance of a
VersionInfoProperties.DependencyStatus
that determines if checksum information should be returned.
-
setDependencyFetch
Establish whether checksum information should be returned.- Parameters:
dependencyFetch
- instance ofVersionInfoProperties.DependencyStatus
-
getDependencies
- Returns:
- an instance of
VersionInfoProperties.Dependencies
containing about information about dependencies.
-
setDependencies
Establishes theVersionInfoProperties.Dependencies
instance that contains information about the dependencies.- Parameters:
dependencies
- instance ofVersionInfoProperties.Dependencies
-