com.atlassian.jira.project.util
Class ReleaseNoteManager

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

public class ReleaseNoteManager
extends Object


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

Field Detail

RELEASE_NOTE_NAME

public static final String RELEASE_NOTE_NAME
See Also:
Constant Field Values

RELEASE_NOTE_DEFAULT

public static final String RELEASE_NOTE_DEFAULT
See Also:
Constant Field Values

RELEASE_NOTE_TEMPLATE

public static final String RELEASE_NOTE_TEMPLATE
See Also:
Constant Field Values

TEMPLATES_DIR

public static final String TEMPLATES_DIR
See Also:
Constant Field Values
Constructor Detail

ReleaseNoteManager

public ReleaseNoteManager(ApplicationProperties applicationProperties,
                          com.atlassian.velocity.VelocityManager velocityManager,
                          ConstantsManager constantsManager,
                          SearchProvider searchProvider,
                          CustomFieldManager customFieldManager)
Method Detail

getStyles

public Map getStyles()

getReleaseNote

public String getReleaseNote(webwork.action.Action action,
                             String releaseNoteStyleName,
                             Version version,
                             com.atlassian.crowd.embedded.api.User user,
                             org.ofbiz.core.entity.GenericValue project)
                      throws 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:
IllegalArgumentException - if there is no matching template for this releaseNoteStyleName


Copyright © 2002-2012 Atlassian. All Rights Reserved.