Class IssueLinkModelFactory

java.lang.Object
com.atlassian.greenhopper.web.rapid.issue.issuelink.IssueLinkModelFactory

@Service public class IssueLinkModelFactory extends Object
Constructs the representation of an issue's links IssueLinkModel. This implementation is loosely based on what LinkBlockContextProvider does, but instead of preparing information for a velocity context, we are directly building a JSON representation of the same information.
  • Constructor Details

    • IssueLinkModelFactory

      public IssueLinkModelFactory()
  • Method Details

    • onSpringContextStarted

      @PostConstruct public void onSpringContextStarted()
    • createModel

      public IssueLinkModel createModel(com.atlassian.jira.issue.Issue issue, boolean fieldConfigured)