public abstract class RenderCloudsJSONAction extends Object implements Callable
| Modifier and Type | Class and Description |
|---|---|
static class |
RenderCloudsJSONAction.ForPackages |
static class |
RenderCloudsJSONAction.ForProjects |
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
aggregate |
static String |
AGGREGATE_PREFIX |
protected CloverReportConfig |
cfg |
protected clover.org.apache.velocity.VelocityContext |
ctx |
protected File |
dir |
static String |
PACKAGE_RISKS_FILE_NAME |
static String |
PROJECT_RISKS_FILE_NAME |
static String |
QUICK_WINS_FILE_NAME |
| Constructor and Description |
|---|
RenderCloudsJSONAction(clover.org.apache.velocity.VelocityContext ctx,
CloverReportConfig cfg,
File dir,
boolean aggregate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
apply(File dir,
String fileName,
String pageTitle,
List deepClasses,
ClassInfoStatsCalculator axis1,
ClassInfoStatsCalculator axis2) |
protected void |
applyAxis(List classes,
ClassInfoStatsCalculator axis1,
ClassInfoStatsCalculator axis2,
JSONObject json) |
Object |
call() |
protected List |
sort(List classes) |
public static final String AGGREGATE_PREFIX
public static final String PROJECT_RISKS_FILE_NAME
public static final String PACKAGE_RISKS_FILE_NAME
public static final String QUICK_WINS_FILE_NAME
protected final File dir
protected final CloverReportConfig cfg
protected final clover.org.apache.velocity.VelocityContext ctx
protected final boolean aggregate
public RenderCloudsJSONAction(clover.org.apache.velocity.VelocityContext ctx,
CloverReportConfig cfg,
File dir,
boolean aggregate)
protected void apply(File dir, String fileName, String pageTitle, List deepClasses, ClassInfoStatsCalculator axis1, ClassInfoStatsCalculator axis2) throws Exception
Exceptionprotected void applyAxis(List classes, ClassInfoStatsCalculator axis1, ClassInfoStatsCalculator axis2, JSONObject json) throws JSONException
JSONExceptionCopyright © 2024 OpenClover.org. All rights reserved.