com.atlassian.jira.project.util
Class ReleaseNoteManager

java.lang.Object
  extended by com.atlassian.jira.project.util.ReleaseNoteManager

public class ReleaseNoteManager
extends java.lang.Object


Nested Class Summary
 class ReleaseNoteManager.IssuesByType
           
 
Field Summary
static java.lang.String RELEASE_NOTE_NAME
           
static java.lang.String RELEASE_NOTE_TEMPLATE
           
 java.util.Map styles
           
static java.lang.String TEMPLATES_DIR
           
 
Constructor Summary
ReleaseNoteManager(ApplicationProperties applicationProperties, com.atlassian.velocity.VelocityManager velocityManager, ConstantsManager constantsManager, IssueManager issueManager)
           
 
Method Summary
 java.lang.String getReleaseNote(webwork.action.Action action, java.lang.String releaseNoteStyleName, Version version, com.opensymphony.user.User user, org.ofbiz.core.entity.GenericValue project)
          Return a releasenote for this version, using the specified releaseNoteStyleName.
 java.util.Map getStyles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TEMPLATES_DIR

public static final java.lang.String TEMPLATES_DIR

RELEASE_NOTE_NAME

public static final java.lang.String RELEASE_NOTE_NAME
See Also:
Constant Field Values

RELEASE_NOTE_TEMPLATE

public static final java.lang.String RELEASE_NOTE_TEMPLATE
See Also:
Constant Field Values

styles

public java.util.Map styles
Constructor Detail

ReleaseNoteManager

public ReleaseNoteManager(ApplicationProperties applicationProperties,
                          com.atlassian.velocity.VelocityManager velocityManager,
                          ConstantsManager constantsManager,
                          IssueManager issueManager)
Method Detail

getStyles

public java.util.Map getStyles()

getReleaseNote

public java.lang.String getReleaseNote(webwork.action.Action action,
                                       java.lang.String releaseNoteStyleName,
                                       Version version,
                                       com.opensymphony.user.User user,
                                       org.ofbiz.core.entity.GenericValue project)
                                throws java.lang.IllegalArgumentException
Return a releasenote for this version, using the specified releaseNoteStyleName. The issues returned will be the issues that the user has permission to see.

Throws:
java.lang.IllegalArgumentException - if there is no matching template for this releaseNoteStyleName


Copyright © 2002-2006 Atlassian. All Rights Reserved.