Serialized Form

  • Package se.bjurr.gitchangelog.api.exceptions

  • Package se.bjurr.gitchangelog.api.model

  • Package se.bjurr.gitchangelog.internal.semantic

  • Package se.bjurr.gitchangelog.internal.settings

    • Class se.bjurr.gitchangelog.internal.settings.Settings

      class Settings extends Object implements Serializable
      serialVersionUID:
      4565886594381385244L
      • Serialized Fields

        • customIssues
          List<SettingsIssue> customIssues
          Custom issues are added to support any kind of issue management, perhaps something that is internal to your project. See SettingsIssue.
        • dateFormat
          String dateFormat
          Format of dates, see SimpleDateFormat.
        • encoding
          String encoding
        • extendedRestHeaders
          Map<String,String> extendedRestHeaders
          Extended headers is simply a key-value mapping of headers that will be passed to REST request. Is used, for example, to bypass 2-factor authentication.
        • extendedVariables
          Map<String,Object> extendedVariables
          Extended variables is simply a key-value mapping of variables that are made available in the template. Is used, for example, by the Bitbucket plugin to supply some internal variables to the changelog context.
        • fromRepo
          String fromRepo
          Folder where repo lives.
        • fromRevision
          String fromRevision
          Include all commits from here. Any tag or branch name or commit hash. There is a constant pointing at the first commit here: reference{GitChangelogApiConstants#ZERO_COMMIT}.
        • fromRevisionStrategy
          InclusivenessStrategy fromRevisionStrategy
        • gitHubApi
          String gitHubApi
          URL pointing at GitHub API. When configured, the Issue.getTitle() will be populated with title from GitHub.
          https://api.github.com/repos/tomasbjerre/git-changelog-lib
        • gitHubEnabled
          boolean gitHubEnabled
          Use any configured feature with Github.
        • gitHubIssuePattern
          String gitHubIssuePattern
          Pattern to recognize GitHub:s. #([0-9]+)
        • gitHubToken
          String gitHubToken
          GitHub authentication token. Configure to avoid low rate limits imposed by GitHub in case you have a lot of issues and/or pull requests.
          https://api.github.com/repos/tomasbjerre/git-changelog-lib
        • gitLabEnabled
          boolean gitLabEnabled
          Use any configured feature with Gitlab.
        • gitLabIssuePattern
          String gitLabIssuePattern
          Pattern to recognize GitLab:s. #([0-9]+)
        • gitLabProjectName
          String gitLabProjectName
          Like: tomas.bjerre85/violations-test for this repo: https://gitlab.com/tomas.bjerre85/violations-test
        • gitLabServer
          String gitLabServer
          GitLab server URL, like https://gitlab.com/.
        • gitLabToken
          String gitLabToken
        • ignoreCommitsIfMessageMatches
          String ignoreCommitsIfMessageMatches
          A regular expression that is evaluated on the commit message of each commit. If it matches, the commit will be filtered out and not included in the changelog.

          To ignore tags creted by Maven and Gradle release plugins, perhaps you want this:
          ^\[maven-release-plugin\].*|^\[Gradle Release Plugin\].*|^Merge.*

          Remember to escape it, if added to the json-file it would look like this:
          ^\\[maven-release-plugin\\].*|^\\[Gradle Release Plugin\\].*|^Merge.*
        • ignoreCommitsIfOlderThan
          Date ignoreCommitsIfOlderThan
          A date that is evaluated on the commit time of each commit. If the commit is older than the point in time given, then it will be filtered out and not included in the changelog.
          See SimpleDateFormat.
        • ignoreCommitsWithoutIssue
          boolean ignoreCommitsWithoutIssue
          Commits that don't have any issue in their commit message will not be included.
        • ignoreTagsIfNameMatches
          String ignoreTagsIfNameMatches
          A regular expression that is evaluated on each tag. If it matches, the tag will be filtered out and not included in the changelog.
        • jiraBearer
          String jiraBearer
          Authenticate to JIRA.
        • jiraEnabled
          boolean jiraEnabled
          Use any configured feature with Jira.
        • jiraIssueAdditionalFields
          List<String> jiraIssueAdditionalFields
          Additional fields to load for the issues.
        • jiraIssuePattern
          String jiraIssuePattern
          Pattern to recognize JIRA:s. \b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\b

          Or escaped if added to json-file:
          \\b[a-zA-Z]([a-zA-Z]+)-([0-9]+)\\b
        • jiraPassword
          String jiraPassword
          Authenticate to JIRA.
        • jiraServer
          String jiraServer
          URL pointing at your JIRA server. When configured, the Issue.getTitle() will be populated with title from JIRA.
          https://jiraserver/jira
        • jiraToken
          String jiraToken
          Authenticate to JIRA.
        • jiraUsername
          String jiraUsername
          Authenticate to JIRA.
        • noIssueName
          String noIssueName
          This is a "virtual issue" that is added to Changelog.getIssues(). It contains all commits that has no issue in the commit comment. This could be used as a "wall of shame" listing commiters that did not tag there commits with an issue.
        • pathFilters
          List<String> pathFilters
          Path filters to use for filtering commits
        • prependTemplatePath
          String prependTemplatePath
          Path of template-file to use when prepending. It is a Mustache (https://mustache.github.io/) template. Supplied with the context of Changelog.
        • readableTagName
          String readableTagName
          Your tags may look something like git-changelog-maven-plugin-1.6. But in the changelog you just want 1.6. With this regular expression, the numbering can be extracted from the tag name.
          /([^-]+?)$
        • redmineEnabled
          boolean redmineEnabled
          Use any configured feature with Redmine.
        • redmineIssuePattern
          String redmineIssuePattern
          Pattern to recognize Redmine:s. #([0-9]+)
        • redminePassword
          String redminePassword
          Authenticate to Redmine.
        • redmineServer
          String redmineServer
          URL pointing at your Redmine server. When configured, the Issue.getTitle() will be populated with title from Redmine.
          https://redmine/redmine
        • redmineToken
          String redmineToken
          Authenticate to Redmine whith API_KEY
        • redmineUsername
          String redmineUsername
          Authenticate to Redmine.
        • removeIssueFromMessage
          boolean removeIssueFromMessage
          If true, the changelog will not contain the issue in the commit comment. If your changelog is grouped by issues, you may want this to be true. If not grouped by issue, perhaps false.
        • semanticMajorPattern
          String semanticMajorPattern
          Regular expression to use when determining next semantic version based on commits.
        • semanticMinorPattern
          String semanticMinorPattern
          Regular expression to use when determining next semantic version based on commits.
        • semanticPatchPattern
          String semanticPatchPattern
          Regular expression to use when determining next semantic version based on commits.
        • templateBaseDir
          String templateBaseDir
          Path to the base directory for template partial files. If not null, handlebars will be configured with a FileTemplateLoader with this as base directory.
        • templatePath
          String templatePath
          Path of template-file to use. It is a Mustache (https://mustache.github.io/) template. Supplied with the context of Changelog.
        • templateSuffix
          String templateSuffix
          The filename suffix of template partial files. Requires "templateBaseDir" to be set.
        • timeZone
          String timeZone
          When date of commits are translated to a string, this timezone is used.
          UTC
        • toRevision
          String toRevision
          Include all commits to this revision. Any tag or branch name or commit hash. There is a constant for master here: reference{GitChangelogApiConstants#REF_MASTER}.
        • toRevisionStrategy
          InclusivenessStrategy toRevisionStrategy
        • untaggedName
          String untaggedName
          Some commits may not be included in any tag. Commits that not released yet may not be tagged. This is a "virtual tag", added to Changelog.getTags(), that includes those commits. A fitting value may be "Next release".
        • useIntegrations
          boolean useIntegrations
          Integrate with services to get more details about issues.
    • Class se.bjurr.gitchangelog.internal.settings.SettingsIssue

      class SettingsIssue extends Object implements Serializable
      serialVersionUID:
      -658106272421601880L
      • Serialized Fields

        • link
          String link
          Link pointing at the issue. It supports variables like:
          ${PATTERN_GROUP}
          ${PATTERN_GROUP_1}
        • name
          String name
          Name of the issue manager. This is the Issue.getName(). Perhaps "GitHub" or "JIRA".
        • pattern
          String pattern
          Regular expression that is evaluated in commit comment. If true, the commit is available in Issue.getCommits().
        • title
          String title
          Title of the issues. Optional and can, for example, be used when when grouping issues per issue type.
        • type
          SettingsIssueType type
          Use SettingsIssueType.CUSTOM when adding custom issues.