public class RenderFileAction extends Object implements Callable
| Modifier and Type | Field and Description |
|---|---|
protected Map<Integer,CloverChartFactory.ChartInfo> |
charts |
protected static ThreadLocal<List<Column>> |
columnsTL |
protected static ThreadLocal<ContextSet> |
contextSetTL |
protected CloverDatabase |
database |
protected FullFileInfo |
fileInfo |
protected FullProjectInfo |
fullModel |
protected HtmlRenderingSupportImpl |
renderingHelper |
protected Current |
reportConfig |
protected List<TestCaseInfo>[] |
testLineInfo |
protected clover.org.apache.velocity.VelocityContext |
velocity |
| Constructor and Description |
|---|
RenderFileAction(FullFileInfo fileInfo,
HtmlRenderingSupportImpl renderingHelper,
Current report,
clover.org.apache.velocity.VelocityContext velocity,
CloverDatabase database,
FullProjectInfo fullModel,
Map<Integer,CloverChartFactory.ChartInfo> charts) |
| Modifier and Type | Method and Description |
|---|---|
Object |
call() |
protected static String |
createOutFileBaseName(String basename) |
protected ContextSet |
getContextSet() |
static void |
initThreadLocals()
Initialises all thread locals.
|
FullFileInfo |
insertSrcFileProperties() |
void |
render() |
static void |
resetThreadLocals()
Resets all thread locals.
|
protected static ThreadLocal<List<Column>> columnsTL
protected static ThreadLocal<ContextSet> contextSetTL
protected final FullFileInfo fileInfo
protected final HtmlRenderingSupportImpl renderingHelper
protected final Current reportConfig
protected final clover.org.apache.velocity.VelocityContext velocity
protected final CloverDatabase database
protected final FullProjectInfo fullModel
protected final Map<Integer,CloverChartFactory.ChartInfo> charts
protected List<TestCaseInfo>[] testLineInfo
public RenderFileAction(FullFileInfo fileInfo, HtmlRenderingSupportImpl renderingHelper, Current report, clover.org.apache.velocity.VelocityContext velocity, CloverDatabase database, FullProjectInfo fullModel, Map<Integer,CloverChartFactory.ChartInfo> charts)
public static void initThreadLocals()
call() method .public static void resetThreadLocals()
ThreadLocal.remove() can't be used since it is since jdk 1.5 .public FullFileInfo insertSrcFileProperties() throws JSONException
JSONExceptionprotected ContextSet getContextSet()
Copyright © 2024 OpenClover.org. All rights reserved.