Class PlatformStepResult
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformStepResult
- All Implemented Interfaces:
Serializable
The result of a platform step reported by the Jenkins step pipeline (step-report.json) : released versions keyed by "groupId:artifactId",
aggregate version and free text report.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the released version of the aggregate, null when the step has no aggregate.Returns the components whose release failed and was rolled back : "groupId:artifactId" to the reason.Returns the components of the plan the pipeline never reached ("groupId:artifactId").Returns the released versions : "groupId:artifactId" to released version.Returns the free text report of the pipeline.Returns the decisions taken on the resources with commits made after their last beta or RC : "groupId:artifactId" to decision.Returns the date of the last verification, null when the step was never verified.Returns the last verification of each resource of the step : "groupId:artifactId" to its verification, the aggregate included.booleanWhether the POM of the aggregate was updated and pushed with the released versions, even when the step failed.voidsetAggregateVersion(String strAggregateVersion) Sets the released version of the aggregate.voidsetFailedVersions(Map<String, String> mapFailedVersions) Sets the failed components.voidsetNotProcessed(List<String> listNotProcessed) Sets the components not processed.voidsetPomUpdated(boolean bPomUpdated) Sets whether the POM of the aggregate was pushed.voidsetReleasedVersions(Map<String, String> mapReleasedVersions) Sets the released versions.voidSets the free text report of the pipeline.voidsetUntestedDecisions(Map<String, PlatformUntestedDecision> mapUntestedDecisions) Sets the decisions taken on the resources with commits made after their last beta or RC.voidsetVerificationDate(String strVerificationDate) Sets the date of the last verification.voidsetVerifications(Map<String, PlatformResourceVerification> mapVerifications) Sets the verifications.
-
Constructor Details
-
PlatformStepResult
public PlatformStepResult()
-
-
Method Details
-
getReleasedVersions
Returns the released versions : "groupId:artifactId" to released version.- Returns:
- the released versions
-
setReleasedVersions
Sets the released versions.- Parameters:
mapReleasedVersions- the released versions
-
getAggregateVersion
Returns the released version of the aggregate, null when the step has no aggregate.- Returns:
- the aggregate version
-
setAggregateVersion
Sets the released version of the aggregate.- Parameters:
strAggregateVersion- the aggregate version
-
getReport
Returns the free text report of the pipeline.- Returns:
- the report
-
setReport
Sets the free text report of the pipeline.- Parameters:
strReport- the report
-
getFailedVersions
Returns the components whose release failed and was rolled back : "groupId:artifactId" to the reason.- Returns:
- the failed components
-
setFailedVersions
Sets the failed components.- Parameters:
mapFailedVersions- the failed components
-
getNotProcessed
Returns the components of the plan the pipeline never reached ("groupId:artifactId").- Returns:
- the components not processed
-
setNotProcessed
Sets the components not processed.- Parameters:
listNotProcessed- the components not processed
-
isPomUpdated
public boolean isPomUpdated()Whether the POM of the aggregate was updated and pushed with the released versions, even when the step failed.- Returns:
- true when the POM was pushed
-
setPomUpdated
public void setPomUpdated(boolean bPomUpdated) Sets whether the POM of the aggregate was pushed.- Parameters:
bPomUpdated- true when pushed
-
getVerifications
Returns the last verification of each resource of the step : "groupId:artifactId" to its verification, the aggregate included.- Returns:
- the verifications
-
setVerifications
Sets the verifications.- Parameters:
mapVerifications- the verifications
-
getVerificationDate
Returns the date of the last verification, null when the step was never verified.- Returns:
- the date of the last verification
-
setVerificationDate
Sets the date of the last verification.- Parameters:
strVerificationDate- the date of the last verification
-
getUntestedDecisions
Returns the decisions taken on the resources with commits made after their last beta or RC : "groupId:artifactId" to decision.- Returns:
- the decisions
-
setUntestedDecisions
Sets the decisions taken on the resources with commits made after their last beta or RC.- Parameters:
mapUntestedDecisions- the decisions
-