Class PlatformVerificationCheck
java.lang.Object
fr.paris.lutece.plugins.releaser.business.platform.PlatformVerificationCheck
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCheck()Returns the name of the check.Returns the error lines when the check did not pass, empty otherwise.Returns the status : OK, TO_FIX or WARNING.voidSets the name of the check.voidsetDetails(String strDetails) Sets the error lines.voidSets the status.
-
Field Details
-
STATUS_OK
Status of a check or of a resource that passed.- See Also:
-
STATUS_TO_FIX
Status of a check or of a resource to fix before the release.- See Also:
-
STATUS_WARNING
Status of a check or of a resource with a warning only.- See Also:
-
-
Constructor Details
-
PlatformVerificationCheck
public PlatformVerificationCheck()
-
-
Method Details
-
getCheck
Returns the name of the check.- Returns:
- the name of the check
-
setCheck
Sets the name of the check.- Parameters:
strCheck- the name of the check
-
getStatus
Returns the status : OK, TO_FIX or WARNING.- Returns:
- the status
-
setStatus
Sets the status.- Parameters:
strStatus- the status
-
getDetails
Returns the error lines when the check did not pass, empty otherwise.- Returns:
- the details
-
setDetails
Sets the error lines.- Parameters:
strDetails- the details
-