public boolean canGenerateIssueLinks()

in src/main/java/org/apache/maven/plugins/changes/ChangesReportGenerator.java [183:203]


    public boolean canGenerateIssueLinks( String system )
    {
        if ( !this.issueLinksPerSystem.containsKey( system ) )
        {
            return false;
        }
        String issueLink = this.issueLinksPerSystem.get( system );

        // If the issue link entry is blank then no links are possible
        if ( StringUtils.isBlank( issueLink ) )
        {
            return false;
        }

        // If the %URL% token is used then the issue management system URL must be set.
        if ( issueLink.contains( URL_TOKEN ) && StringUtils.isBlank( getUrl() ) )
        {
            return false;
        }
        return true;
    }