public class ThemeCssReloader extends Object implements org.zeroturnaround.javarebel.FileEventListener
| Constructor and Description |
|---|
ThemeCssReloader(String contextPath) |
| Modifier and Type | Method and Description |
|---|---|
void |
addDir(File f) |
static ThemeCssReloader |
addToServletContext(org.zeroturnaround.javarebel.RebelServletContext context,
String contextPath) |
void |
destroy() |
static String[] |
getRubyPaths(String contextPath) |
static boolean |
isContextMonitored(String contextPath,
String servletPath) |
boolean |
isDirty(String requestPath,
Class<?> filterClazz) |
static boolean |
isDirty(String contextPath,
String requestPath,
Class<?> filterClazz) |
boolean |
isRecursive() |
void |
onFailure() |
void |
onFileAdd(File file) |
void |
onFileChange(File file) |
void |
onFileDirty(File file) |
void |
onFileRemove(File file) |
void |
reset(String requestPath) |
static void |
reset(String contextPath,
String resourcePath) |
static void |
updateDependencies(String contextPath,
String resourcePath,
Set<String> dependencies) |
public ThemeCssReloader(String contextPath)
public static ThemeCssReloader addToServletContext(org.zeroturnaround.javarebel.RebelServletContext context, String contextPath)
public static void updateDependencies(String contextPath, String resourcePath, Set<String> dependencies)
public void reset(String requestPath)
public boolean isRecursive()
isRecursive in interface org.zeroturnaround.javarebel.FileEventListenerpublic void onFileAdd(File file)
onFileAdd in interface org.zeroturnaround.javarebel.FileEventListenerpublic void onFileChange(File file)
onFileChange in interface org.zeroturnaround.javarebel.FileEventListenerpublic void onFileRemove(File file)
onFileRemove in interface org.zeroturnaround.javarebel.FileEventListenerpublic void onFileDirty(File file)
onFileDirty in interface org.zeroturnaround.javarebel.FileEventListenerpublic void onFailure()
onFailure in interface org.zeroturnaround.javarebel.FileEventListenerpublic void addDir(File f)
public void destroy()
Copyright © 2015. All rights reserved.