@Retention @Target public abstract @interface

ActionViewDataMappings

implements Annotation
com.atlassian.jira.web.action.ActionViewDataMappings

Class Overview

The annotation used to indicate that a method is to be used to provide data to a JiraWebActionSupport action.

This allows you to specify multiple views that the method gives data to.

    @ActionViewDataMappings({"success","fail"})
 

By default the name of the method is used as the data key. If the method is a JavaBean getter then the de-capitalised name will be used otherwise the method name is taken as is. You can use the key="xxx" attribute to override the key name used

     getAddress() --> "address"
     myAddress()  --> "myAddress
 

Summary

[Expand]
Inherited Methods
From interface java.lang.annotation.Annotation