Class GetDisplayNameFunction
java.lang.Object
com.atlassian.confluence.plugins.soy.GetDisplayNameFunction
- All Implemented Interfaces:
com.atlassian.soy.renderer.SoyFunction
,com.atlassian.soy.renderer.SoyServerFunction<String>
public class GetDisplayNameFunction
extends Object
implements com.atlassian.soy.renderer.SoyServerFunction<String>
GetDisplayNameFunction to get the display name from the language Manager.
- Since:
- 9.0.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
GetDisplayNameFunction
public GetDisplayNameFunction(com.atlassian.plugin.PluginAccessor pluginAccessor)
-
-
Method Details
-
getName
- Specified by:
getName
in interfacecom.atlassian.soy.renderer.SoyFunction
-
apply
- Specified by:
apply
in interfacecom.atlassian.soy.renderer.SoyServerFunction<String>
- Parameters:
args
- two arguments expected, first a unique key to store the value against and second an HTML-safe string
-
validArgSizes
- Specified by:
validArgSizes
in interfacecom.atlassian.soy.renderer.SoyFunction
-