public class InspectionsResultUtil
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DESCRIPTIONS |
static java.lang.String |
INSPECTIONS_NODE |
static java.lang.String |
PROFILE |
static java.lang.String |
XML_EXTENSION |
Constructor and Description |
---|
InspectionsResultUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
describeInspections(java.nio.file.Path outputPath,
java.lang.String name,
InspectionProfile profile) |
static java.nio.file.Path |
getInspectionResultFile(java.nio.file.Path outputDirectory,
java.lang.String name) |
static java.nio.file.Path |
getInspectionResultPath(java.nio.file.Path outputDir,
java.lang.String name) |
static java.io.BufferedWriter |
getWriter(java.nio.file.Path outputDirectory,
java.lang.String name) |
static void |
writeInspectionResult(Project project,
java.lang.String shortName,
java.util.Collection<? extends InspectionToolWrapper<?,?>> wrappers,
java.nio.file.Path outputDirectory,
java.util.function.Function<InspectionToolWrapper,InspectionToolResultExporter> f) |
static void |
writeProfileName(java.nio.file.Path outputDirectory,
java.lang.String profileName) |
public static final java.lang.String DESCRIPTIONS
public static final java.lang.String XML_EXTENSION
public static final java.lang.String PROFILE
public static final java.lang.String INSPECTIONS_NODE
public static void describeInspections(java.nio.file.Path outputPath, java.lang.String name, InspectionProfile profile) throws java.io.IOException
java.io.IOException
public static java.nio.file.Path getInspectionResultPath(java.nio.file.Path outputDir, java.lang.String name)
public static java.nio.file.Path getInspectionResultFile(java.nio.file.Path outputDirectory, java.lang.String name)
public static java.io.BufferedWriter getWriter(java.nio.file.Path outputDirectory, java.lang.String name) throws java.io.IOException
java.io.IOException
public static void writeInspectionResult(Project project, java.lang.String shortName, java.util.Collection<? extends InspectionToolWrapper<?,?>> wrappers, java.nio.file.Path outputDirectory, java.util.function.Function<InspectionToolWrapper,InspectionToolResultExporter> f) throws java.io.IOException
java.io.IOException
public static void writeProfileName(java.nio.file.Path outputDirectory, java.lang.String profileName) throws java.io.IOException
java.io.IOException