public class

MetalResourcesManager

extends Object
java.lang.Object
   ↳ com.atlassian.jira.web.util.MetalResourcesManager

Class Overview

Manage and allow to print out assets (javscript and css) which are included into Metal Pages

Summary

Fields
public static Set<String> STATIC_ASSETS Descriptive list of all files which are considered as static assets
Public Constructors
MetalResourcesManager(String contextPath, Writer out)
Public Methods
MetalResourcesManager endIf()
static String getMetalResources(String contextPath)
static void includeMetalResources(Writer out, String contextPath)
MetalResourcesManager startIf(String condition)
MetalResourcesManager writeScript(String filename)
MetalResourcesManager writeStyle(String filename)
[Expand]
Inherited Methods
From class java.lang.Object

Fields

public static Set<String> STATIC_ASSETS

Descriptive list of all files which are considered as static assets

Public Constructors

public MetalResourcesManager (String contextPath, Writer out)

Public Methods

public MetalResourcesManager endIf ()

Throws
IOException

public static String getMetalResources (String contextPath)

public static void includeMetalResources (Writer out, String contextPath)

public MetalResourcesManager startIf (String condition)

Throws
IOException

public MetalResourcesManager writeScript (String filename)

Throws
IOException

public MetalResourcesManager writeStyle (String filename)

Throws
IOException