Package CIserver.app

Class Build

java.lang.Object
CIserver.app.Build

public class Build extends Object
Placeholder class for information of a build
  • Constructor Details

    • Build

      public Build()
      Default constructor
    • Build

      public Build(String commit, String date, String log)
      Parameterized constructor
      Parameters:
      commit - commit SHA of the build
      date - date when the build was executed
      log - output logs of the build
  • Method Details

    • getCommit

      public String getCommit()
      Gets the commit value
      Returns:
      the commit SHA
    • setCommit

      public void setCommit(String commit)
      Sets the commit value
      Parameters:
      commit - the new commit SHA to be set
    • getDate

      public String getDate()
      Gets the date value
      Returns:
      the date of the build
    • setDate

      public void setDate(String date)
      Sets the date value
      Parameters:
      date - the new build date to be set
    • getLog

      public String getLog()
      Gets the build logs
      Returns:
      the output logs of the build
    • setLog

      public void setLog(String log)
      Sets the log value
      Parameters:
      log - the new build logs to be set