Class PlatformReleaseStep

java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseStep
All Implemented Interfaces:
Serializable

public class PlatformReleaseStep extends Object implements Serializable
One step of a platform release campaign : the plan sent to Jenkins, the build followed and the versions obtained.
See Also:
  • Constructor Details

    • PlatformReleaseStep

      public PlatformReleaseStep()
  • Method Details

    • getId

      public int getId()
      Returns the id.
      Returns:
      the id
    • setId

      public void setId(int nId)
      Sets the id.
      Parameters:
      nId - the id
    • getIdPlatformRelease

      public int getIdPlatformRelease()
      Returns the id of the campaign.
      Returns:
      the id of the campaign
    • setIdPlatformRelease

      public void setIdPlatformRelease(int nIdPlatformRelease)
      Sets the id of the campaign.
      Parameters:
      nIdPlatformRelease - the id of the campaign
    • getStepNumber

      public int getStepNumber()
      Returns the step number.
      Returns:
      the step number
    • setStepNumber

      public void setStepNumber(int nStepNumber)
      Sets the step number.
      Parameters:
      nStepNumber - the step number
    • getStatus

      public PlatformReleaseStatus getStatus()
      Returns the status.
      Returns:
      the status
    • setStatus

      public void setStatus(PlatformReleaseStatus status)
      Sets the status.
      Parameters:
      status - the status
    • getPlanJson

      public String getPlanJson()
      Returns the plan sent to Jenkins.
      Returns:
      the plan (JSON)
    • setPlanJson

      public void setPlanJson(String strPlanJson)
      Sets the plan sent to Jenkins.
      Parameters:
      strPlanJson - the plan (JSON)
    • getResultJson

      public String getResultJson()
      Returns the result reported by Jenkins.
      Returns:
      the result (JSON)
    • setResultJson

      public void setResultJson(String strResultJson)
      Sets the result reported by Jenkins.
      Parameters:
      strResultJson - the result (JSON)
    • getJenkinsBuildUrl

      public String getJenkinsBuildUrl()
      Returns the URL of the Jenkins build.
      Returns:
      the URL
    • setJenkinsBuildUrl

      public void setJenkinsBuildUrl(String strJenkinsBuildUrl)
      Sets the URL of the Jenkins build.
      Parameters:
      strJenkinsBuildUrl - the URL
    • getJenkinsBuildNumber

      public int getJenkinsBuildNumber()
      Returns the number of the Jenkins build.
      Returns:
      the build number
    • setJenkinsBuildNumber

      public void setJenkinsBuildNumber(int nJenkinsBuildNumber)
      Sets the number of the Jenkins build.
      Parameters:
      nJenkinsBuildNumber - the build number
    • getJenkinsResult

      public String getJenkinsResult()
      Returns the result of the Jenkins build.
      Returns:
      the result
    • setJenkinsResult

      public void setJenkinsResult(String strJenkinsResult)
      Sets the result of the Jenkins build.
      Parameters:
      strJenkinsResult - the result
    • getDateBegin

      public Timestamp getDateBegin()
      Returns the date the step was sent to Jenkins.
      Returns:
      the begin date
    • setDateBegin

      public void setDateBegin(Timestamp dateBegin)
      Sets the date the step was sent to Jenkins.
      Parameters:
      dateBegin - the begin date
    • getDateEnd

      public Timestamp getDateEnd()
      Returns the date the Jenkins build finished.
      Returns:
      the end date
    • setDateEnd

      public void setDateEnd(Timestamp dateEnd)
      Sets the date the Jenkins build finished.
      Parameters:
      dateEnd - the end date