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, VelocityTemplatingEngine templatingEngine, 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)
          Returns a release note for this version, using the specified releaseNoteStyleName.
 Map<String,String> 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,
                          VelocityTemplatingEngine templatingEngine,
                          ConstantsManager constantsManager,
                          SearchProvider searchProvider,
                          CustomFieldManager customFieldManager)
Method Detail

getStyles

public Map<String,String> 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)
Returns a release note 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-2014 Atlassian. All Rights Reserved.