Class GetIterableListFunction

java.lang.Object
com.atlassian.confluence.plugins.soy.GetIterableListFunction
All Implemented Interfaces:
com.atlassian.soy.renderer.SoyFunction, com.atlassian.soy.renderer.SoyServerFunction<List<Map<String,?>>>

public class GetIterableListFunction extends Object implements com.atlassian.soy.renderer.SoyServerFunction<List<Map<String,?>>>
A soy server function that return a list of map so that we can iterate list map in soy.

Usage: {foreach $metadata in getIterableList($metadataMap)}

  • Constructor Details

    • GetIterableListFunction

      public GetIterableListFunction()
  • Method Details

    • getName

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

      public List<Map<String,?>> apply(Object... args)
      Specified by:
      apply in interface com.atlassian.soy.renderer.SoyServerFunction<List<Map<String,?>>>
    • validArgSizes

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