Constructor and Description |
---|
ImportResourceFunction(DataSourceFactory dataSourceFactory) |
Modifier and Type | Method and Description |
---|---|
String |
apply(Object... args)
Usage:
|
String |
getName() |
Set<Integer> |
validArgSizes() |
public ImportResourceFunction(DataSourceFactory dataSourceFactory)
public String getName()
getName
in interface com.atlassian.soy.renderer.SoyFunction
public String apply(Object... args)
importResource("com.atlassian.plugins.module:modulekey", "name")
apply
in interface com.atlassian.soy.renderer.SoyServerFunction<String>
args
- two arguments expected, first a serialized complete module key in the format
<plugin-key>:<module-key>
, and second a resource nameCopyright © 2003–2023 Atlassian. All rights reserved.
View cookie preferences