Class Dependency
java.lang.Object
org.springframework.cloud.dataflow.rest.resource.about.Dependency
Holds dependency information of a lbrary used by Spring Cloud Dataflow.
- Author:
- Gunnar Hillert, Glenn Renfro
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for serialization frameworks. -
Method Summary
Modifier and TypeMethodDescriptionRetrieve the current checksumSha1 for theDependencyRetrieve the current checksumSha256 for theDependencygetName()Retrieve the current name for theDependencygetUrl()Retrieve the current url for theDependencyRetrieve the current version for theDependencyvoidsetChecksumSha1(String checksumSha1) Establish the checksumSha1 for theDependency.voidsetChecksumSha256(String checksumSha256) Establish the checksumSha1256 for theDependency.voidEstablish the name for theDependency.voidEstablish the url for theDependency.voidsetVersion(String version) Establish the version for theDependency.
-
Constructor Details
-
Dependency
public Dependency()Default constructor for serialization frameworks. -
Dependency
-
-
Method Details
-
getName
Retrieve the current name for theDependency- Returns:
- the name for the
Dependency
-
setName
Establish the name for theDependency.- Parameters:
name-Stringrepresenting the name.
-
getVersion
Retrieve the current version for theDependency- Returns:
- the version for the
Dependency
-
setVersion
Establish the version for theDependency.- Parameters:
version-Stringrepresenting the version.
-
getChecksumSha1
Retrieve the current checksumSha1 for theDependency- Returns:
- the checksumSha1 for the
Dependency
-
setChecksumSha1
Establish the checksumSha1 for theDependency.- Parameters:
checksumSha1-Stringrepresenting the checksumSha1.
-
getUrl
Retrieve the current url for theDependency- Returns:
- the url for the
Dependency
-
setUrl
Establish the url for theDependency.- Parameters:
url-Stringrepresenting the url.
-
getChecksumSha256
Retrieve the current checksumSha256 for theDependency- Returns:
- the checksumSha256 for the
Dependency
-
setChecksumSha256
Establish the checksumSha1256 for theDependency.- Parameters:
checksumSha256-Stringrepresenting the checksumSha256.
-