public class PolicyTemplateStore extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
POLICY_TEMPLATE_LIGHT_PATTERN |
static String |
POLICY_TEMPLATE_PATTERN |
static Pattern |
POLICY_TEMPLATE_REGEX_PATTERN |
static String |
POLICY_YAML_PATTERN |
| Constructor and Description |
|---|
PolicyTemplateStore() |
public static final Pattern POLICY_TEMPLATE_REGEX_PATTERN
public static final String POLICY_TEMPLATE_PATTERN
public static final String POLICY_TEMPLATE_LIGHT_PATTERN
public static final String POLICY_YAML_PATTERN
public void storeYaml(com.mulesoft.mule.runtime.gw.api.policy.PolicyTemplateKey templateKey, InputStream yaml)
PolicyTemplateKeytemplateKey - the template's keyyaml - the content that is storedpublic void storeJar(com.mulesoft.mule.runtime.gw.api.policy.PolicyTemplateKey templateKey, InputStream jar)
PolicyTemplateKeytemplateKey - the template's keyjar - the content that is storedpublic void storeInternalJar(com.mulesoft.mule.runtime.gw.api.policy.PolicyTemplateKey templateKey, InputStream jar)
PolicyTemplateKey. As the template
is internal, it is stored in a different directory.templateKey - the internal template's keyjar - the content that is storedpublic PolicyTemplateAssets getInternalTemplateAssets(com.mulesoft.mule.runtime.gw.api.policy.PolicyTemplateKey templateKey)
PolicyTemplateAssets of the given internal template. As the template is internal, the assets links
refer to a different place than non-internal onestemplateKey - the internal template's keyPolicyTemplateAssetspublic PolicyTemplateAssets getTemplateAssets(com.mulesoft.mule.runtime.gw.api.policy.PolicyTemplateKey templateKey)
PolicyTemplateAssets of the given templatetemplateKey - the template's keyPolicyTemplateAssetspublic List<PolicyTemplateAssets> getAllTemplateAssets()
PolicyTemplateAssets that is stored in the runtime. It considers both jars and extracted jarsCopyright © 2014–2025 MuleSoft, Inc.. All rights reserved.