public class BugReportTemplate extends Object
| Constructor and Description |
|---|
BugReportTemplate() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_createTemplateFile()
Create the template file but don't allow it to run longer than
MAX_MS_TO_RUN ms in case the log files are very large and creating
this file takes too long.
|
protected void |
buildTemplateFileText()
Creates the contents of the bug report template file and stores it in
templateStr.
|
protected void |
categorizeFiles()
Categorize files of the run being analyzed into Lists for more efficient
access while creating the bug report template.
|
static void |
createTemplateFile(String dirPath,
boolean toStdOut)
Generate a bug report template with information from the run to be
included in a bug report.
|
static void |
main(String[] args)
Create a bug report template for a hydra run.
|
public static void createTemplateFile(String dirPath, boolean toStdOut)
dirPath - A String indicating a directory path to a hydra run.writeToStdOut - If true, then write the template to standard out,
otherwise write to a file in dirPath.protected void _createTemplateFile()
throws InterruptedException
InterruptedExceptionprotected void buildTemplateFileText()
protected void categorizeFiles()
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.