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 classThe dependencies that will be returned by the about controller.static classInformation about the dependency.static classRepresents whether dependency information should be returned as a part of the about result set. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetDependencies(VersionInfoProperties.Dependencies dependencies) Establishes theVersionInfoProperties.Dependenciesinstance that contains information about the dependencies.voidsetDependencyFetch(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.DependencyStatusthat 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.Dependenciescontaining about information about dependencies.
-
setDependencies
Establishes theVersionInfoProperties.Dependenciesinstance that contains information about the dependencies.- Parameters:
dependencies- instance ofVersionInfoProperties.Dependencies
-