1 package com.atlassian.plugin.web;
2
3 import com.atlassian.plugin.Plugin;
4 import com.atlassian.plugin.web.conditions.ConditionLoadingException;
5
6 import java.util.List;
7 import java.util.Map;
8
9
10
11
12 public interface WebFragmentHelper
13 {
14 Condition loadCondition(String className, Plugin plugin) throws ConditionLoadingException;
15
16 ContextProvider loadContextProvider(String className, Plugin plugin) throws ConditionLoadingException;
17
18 String getI18nValue(String key, List arguments, Map context);
19
20 String renderVelocityFragment(String fragment, Map context);
21 }