Class PlatformStepResult

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

public class PlatformStepResult extends Object implements 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 Details

    • PlatformStepResult

      public PlatformStepResult()
  • Method Details

    • getReleasedVersions

      public Map<String,String> getReleasedVersions()
      Returns the released versions : "groupId:artifactId" to released version.
      Returns:
      the released versions
    • setReleasedVersions

      public void setReleasedVersions(Map<String,String> mapReleasedVersions)
      Sets the released versions.
      Parameters:
      mapReleasedVersions - the released versions
    • getAggregateVersion

      public String getAggregateVersion()
      Returns the released version of the aggregate, null when the step has no aggregate.
      Returns:
      the aggregate version
    • setAggregateVersion

      public void setAggregateVersion(String strAggregateVersion)
      Sets the released version of the aggregate.
      Parameters:
      strAggregateVersion - the aggregate version
    • getReport

      public String getReport()
      Returns the free text report of the pipeline.
      Returns:
      the report
    • setReport

      public void setReport(String strReport)
      Sets the free text report of the pipeline.
      Parameters:
      strReport - the report
    • getFailedVersions

      public Map<String,String> getFailedVersions()
      Returns the components whose release failed and was rolled back : "groupId:artifactId" to the reason.
      Returns:
      the failed components
    • setFailedVersions

      public void setFailedVersions(Map<String,String> mapFailedVersions)
      Sets the failed components.
      Parameters:
      mapFailedVersions - the failed components
    • getNotProcessed

      public List<String> getNotProcessed()
      Returns the components of the plan the pipeline never reached ("groupId:artifactId").
      Returns:
      the components not processed
    • setNotProcessed

      public void setNotProcessed(List<String> listNotProcessed)
      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

      public Map<String,PlatformResourceVerification> getVerifications()
      Returns the last verification of each resource of the step : "groupId:artifactId" to its verification, the aggregate included.
      Returns:
      the verifications
    • setVerifications

      public void setVerifications(Map<String,PlatformResourceVerification> mapVerifications)
      Sets the verifications.
      Parameters:
      mapVerifications - the verifications
    • getVerificationDate

      public String getVerificationDate()
      Returns the date of the last verification, null when the step was never verified.
      Returns:
      the date of the last verification
    • setVerificationDate

      public void setVerificationDate(String strVerificationDate)
      Sets the date of the last verification.
      Parameters:
      strVerificationDate - the date of the last verification
    • getUntestedDecisions

      public Map<String,PlatformUntestedDecision> 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

      public void setUntestedDecisions(Map<String,PlatformUntestedDecision> mapUntestedDecisions)
      Sets the decisions taken on the resources with commits made after their last beta or RC.
      Parameters:
      mapUntestedDecisions - the decisions