com.atlassian.jira.web.less.cache
Class CachingLessCompiler
java.lang.Object
com.atlassian.jira.web.less.cache.CachingLessCompiler
public class CachingLessCompiler
- extends Object
A caching layer above the LessCompiler. Calling the less compiler is expensive. This caches
the output of the compiler for less file. The cache is invaludated if the input the the compiler (including any of the
dependencies) changes.
Safe for concurrent access.
- Since:
- v5.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CachingLessCompiler
public CachingLessCompiler(LessCompiler compiler,
JiraHome jiraHome)
throws IOException
- Throws:
IOException
compile
public String compile(String uniquekey,
String location,
Loader originaLoader,
String input,
boolean compress)
Copyright © 2002-2012 Atlassian. All Rights Reserved.