Class PlatformReleaseStep
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformReleaseStep
- All Implemented Interfaces:
Serializable
One step of a platform release campaign : the plan sent to Jenkins, the build followed and the versions obtained.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the date the step was sent to Jenkins.Returns the date the Jenkins build finished.intgetId()Returns the id.intReturns the id of the campaign.intReturns the number of the Jenkins build.Returns the URL of the Jenkins build.Returns the result of the Jenkins build.Returns the plan sent to Jenkins.Returns the result reported by Jenkins.Returns the status.intReturns the step number.voidsetDateBegin(Timestamp dateBegin) Sets the date the step was sent to Jenkins.voidsetDateEnd(Timestamp dateEnd) Sets the date the Jenkins build finished.voidsetId(int nId) Sets the id.voidsetIdPlatformRelease(int nIdPlatformRelease) Sets the id of the campaign.voidsetJenkinsBuildNumber(int nJenkinsBuildNumber) Sets the number of the Jenkins build.voidsetJenkinsBuildUrl(String strJenkinsBuildUrl) Sets the URL of the Jenkins build.voidsetJenkinsResult(String strJenkinsResult) Sets the result of the Jenkins build.voidsetPlanJson(String strPlanJson) Sets the plan sent to Jenkins.voidsetResultJson(String strResultJson) Sets the result reported by Jenkins.voidsetStatus(PlatformReleaseStatus status) Sets the status.voidsetStepNumber(int nStepNumber) Sets the step number.
-
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
Returns the status.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
status- the status
-
getPlanJson
Returns the plan sent to Jenkins.- Returns:
- the plan (JSON)
-
setPlanJson
Sets the plan sent to Jenkins.- Parameters:
strPlanJson- the plan (JSON)
-
getResultJson
Returns the result reported by Jenkins.- Returns:
- the result (JSON)
-
setResultJson
Sets the result reported by Jenkins.- Parameters:
strResultJson- the result (JSON)
-
getJenkinsBuildUrl
Returns the URL of the Jenkins build.- Returns:
- the URL
-
setJenkinsBuildUrl
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
Returns the result of the Jenkins build.- Returns:
- the result
-
setJenkinsResult
Sets the result of the Jenkins build.- Parameters:
strJenkinsResult- the result
-
getDateBegin
Returns the date the step was sent to Jenkins.- Returns:
- the begin date
-
setDateBegin
Sets the date the step was sent to Jenkins.- Parameters:
dateBegin- the begin date
-
getDateEnd
Returns the date the Jenkins build finished.- Returns:
- the end date
-
setDateEnd
Sets the date the Jenkins build finished.- Parameters:
dateEnd- the end date
-