com.atlassian.jira.web.less
Class LessTransformer

java.lang.Object
  extended by com.atlassian.jira.web.less.LessTransformer
All Implemented Interfaces:
com.atlassian.plugin.webresource.transformer.WebResourceTransformer

public class LessTransformer
extends Object
implements com.atlassian.plugin.webresource.transformer.WebResourceTransformer

Transforms .less files into .css files, see http://lesscss.org/

Since:
v4.3

Constructor Summary
LessTransformer(ApplicationProperties applicationProperties, com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory, com.atlassian.plugin.PluginAccessor pluginAccessor)
           
 
Method Summary
 com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element element, com.atlassian.plugin.elements.ResourceLocation resourceLocation, String extrapath, com.atlassian.plugin.servlet.DownloadableResource downloadableResource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LessTransformer

public LessTransformer(ApplicationProperties applicationProperties,
                       com.atlassian.plugin.servlet.ServletContextFactory servletContextFactory,
                       com.atlassian.plugin.PluginAccessor pluginAccessor)
                throws IOException
Throws:
IOException
Method Detail

transform

public com.atlassian.plugin.servlet.DownloadableResource transform(org.dom4j.Element element,
                                                                   com.atlassian.plugin.elements.ResourceLocation resourceLocation,
                                                                   String extrapath,
                                                                   com.atlassian.plugin.servlet.DownloadableResource downloadableResource)
Specified by:
transform in interface com.atlassian.plugin.webresource.transformer.WebResourceTransformer


Copyright © 2002-2011 Atlassian. All Rights Reserved.