Class PlatformVerificationCheck

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

public class PlatformVerificationCheck extends Object implements Serializable
One check of a verified resource, as reported by the step pipeline in verify-report.json : its name (clone, tests, versions, snapshot-dependencies, transitive-snapshot-dependencies, build, tag), its status and the error lines when it did not pass.
See Also:
  • Field Details

    • STATUS_OK

      public static final String STATUS_OK
      Status of a check or of a resource that passed.
      See Also:
    • STATUS_TO_FIX

      public static final String STATUS_TO_FIX
      Status of a check or of a resource to fix before the release.
      See Also:
    • STATUS_WARNING

      public static final String STATUS_WARNING
      Status of a check or of a resource with a warning only.
      See Also:
  • Constructor Details

    • PlatformVerificationCheck

      public PlatformVerificationCheck()
  • Method Details

    • getCheck

      public String getCheck()
      Returns the name of the check.
      Returns:
      the name of the check
    • setCheck

      public void setCheck(String strCheck)
      Sets the name of the check.
      Parameters:
      strCheck - the name of the check
    • getStatus

      public String getStatus()
      Returns the status : OK, TO_FIX or WARNING.
      Returns:
      the status
    • setStatus

      public void setStatus(String strStatus)
      Sets the status.
      Parameters:
      strStatus - the status
    • getDetails

      public String getDetails()
      Returns the error lines when the check did not pass, empty otherwise.
      Returns:
      the details
    • setDetails

      public void setDetails(String strDetails)
      Sets the error lines.
      Parameters:
      strDetails - the details