java.lang.Object
org.springframework.cloud.dataflow.rest.resource.about.Dependency

public class Dependency extends Object
Holds dependency information of a lbrary used by Spring Cloud Dataflow.
Author:
Gunnar Hillert, Glenn Renfro
  • Constructor Details

    • Dependency

      public Dependency()
      Default constructor for serialization frameworks.
    • Dependency

      public Dependency(String name, String version, String checksumsha1, String checksumsha256, String url)
  • Method Details

    • getName

      public String getName()
      Retrieve the current name for the Dependency
      Returns:
      the name for the Dependency
    • setName

      public void setName(String name)
      Establish the name for the Dependency.
      Parameters:
      name - String representing the name.
    • getVersion

      public String getVersion()
      Retrieve the current version for the Dependency
      Returns:
      the version for the Dependency
    • setVersion

      public void setVersion(String version)
      Establish the version for the Dependency.
      Parameters:
      version - String representing the version.
    • getChecksumSha1

      public String getChecksumSha1()
      Retrieve the current checksumSha1 for the Dependency
      Returns:
      the checksumSha1 for the Dependency
    • setChecksumSha1

      public void setChecksumSha1(String checksumSha1)
      Establish the checksumSha1 for the Dependency.
      Parameters:
      checksumSha1 - String representing the checksumSha1.
    • getUrl

      public String getUrl()
      Retrieve the current url for the Dependency
      Returns:
      the url for the Dependency
    • setUrl

      public void setUrl(String url)
      Establish the url for the Dependency.
      Parameters:
      url - String representing the url.
    • getChecksumSha256

      public String getChecksumSha256()
      Retrieve the current checksumSha256 for the Dependency
      Returns:
      the checksumSha256 for the Dependency
    • setChecksumSha256

      public void setChecksumSha256(String checksumSha256)
      Establish the checksumSha1256 for the Dependency.
      Parameters:
      checksumSha256 - String representing the checksumSha256.