ReportsProvider
The ReportsProvider
class is useful to create and provide the reports for the releases
Author
N7ghtm4r3 - Tecknobit
Properties
Link copied to clipboard
ASSETS_DIRECTORY
the assets directory where are stored the assets of the releases uploadedLink copied to clipboard
BREAK_LINE
constant of the break line html tagLink copied to clipboard
currentRelease
the release on which create its reportLink copied to clipboard
LOGOS_DIRECTORY
the logos directory where are stored the logos of the projectsLink copied to clipboard
PDF_EXTENSION
extension to apply to the reports filesLink copied to clipboard
Link copied to clipboard
PROJECT_LOGO_TAG
the tag to indicate where is the project logo and where place the real valueLink copied to clipboard
PROJECT_NAME_TAG
the tag to indicate where is the project name and where place the real valueLink copied to clipboard
RELEASE_CREATION_DATE_TAG
the tag to indicate where is the release creation date and where place the real valueLink copied to clipboard
RELEASE_EVENTS_TAG
the tag to indicate where are the release events and where place the real valueLink copied to clipboard
RELEASE_NOTES_TAG
the tag to indicate where are the release notes and where place the real valueLink copied to clipboard
RELEASE_STATUS_TAG
the tag to indicate where is the release status and where place the real valueLink copied to clipboard
RELEASE_VERSION_TAG
the tag to indicate where is the release version and where place the real valueLink copied to clipboard
reportName
the report nameLink copied to clipboard
REPORTS_DIRECTORY
the reports directory where are stored the reports of the releases createdLink copied to clipboard
reportTemplate
the report template to use and where place the real instead of the tagsLink copied to clipboard
Link copied to clipboard
Link copied to clipboard
RESOURCES_REPORTS_PATH
the complete reports path from resources directoryLink copied to clipboard
timeFormatter
the formatter used to format the timestamp valuesLink copied to clipboard
UNDERSCORE
the underscore characterLink copied to clipboard
VERSION_REGEX
the regex to clear the version of a releaseFunctions
Link copied to clipboard
Method to create the pathname for an asset
Link copied to clipboard
Method to create the pathname for a project logo
Link copied to clipboard
Link copied to clipboard
Method to create the release report No-any params required
Link copied to clipboard
Method to create the pathname for a report
Link copied to clipboard
open fun createResource(resource: MultipartFile, resourcesDirectory: String, resourceId: String): String
Link copied to clipboard
Method to delete an asset
Link copied to clipboard
Method to delete a project logo
Link copied to clipboard
Link copied to clipboard
Method to delete a report if an existing report already exists and is different from the current release status
Link copied to clipboard
Method to delete a report
Link copied to clipboard
Link copied to clipboard
Method to format the name for the report No-any params required
Link copied to clipboard
Method to create the report for a release
Link copied to clipboard
Method to get the comment related to the release status
Link copied to clipboard
Link copied to clipboard
Method to insert the header of the report, so insert, replacing the related tags, the project logo, project name, release version, the creation date of the release, the current status of the release and the notes of the release.
Link copied to clipboard
Method to insert the project logo replacing the related tag
Link copied to clipboard
Method to insert and create the structure for the events of the release replacing the related tag No-any params required
Link copied to clipboard
Method to create the release status badge
Link copied to clipboard
Method to clear the version of a Release using the VERSION_REGEX No-any params required
Link copied to clipboard
Link copied to clipboard
Method to set the current release details