Class StaticResourceUrlPrefixFunction

java.lang.Object
com.atlassian.confluence.plugins.soy.StaticResourceUrlPrefixFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyClientFunction, com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<String>

public final class StaticResourceUrlPrefixFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<String>, com.atlassian.soy.renderer.SoyClientFunction
Returns the static web resources URL prefix as a string.
Since:
5.0
  • Constructor Details

    • StaticResourceUrlPrefixFunction

      public StaticResourceUrlPrefixFunction(com.atlassian.webresource.api.WebResourceUrlProvider webResourceUrlProvider)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface com.atlassian.soy.renderer.SoyFunction
    • validArgSizes

      public Set<Integer> validArgSizes()
      Specified by:
      validArgSizes in interface com.atlassian.soy.renderer.SoyFunction
    • apply

      public String apply(Object... args)
      Specified by:
      apply in interface com.atlassian.soy.renderer.SoyServerFunction<String>
    • generate

      public com.atlassian.soy.renderer.JsExpression generate(com.atlassian.soy.renderer.JsExpression... args)
      Specified by:
      generate in interface com.atlassian.soy.renderer.SoyClientFunction