public class BugReportTemplate
extends java.lang.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(java.lang.String dirPath,
boolean toStdOut)
Generate a bug report template with information from the run to be
included in a bug report.
|
static void |
main(java.lang.String[] args)
Create a bug report template for a hydra run.
|
public static void createTemplateFile(java.lang.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 java.lang.InterruptedException
java.lang.InterruptedExceptionprotected void buildTemplateFileText()
protected void categorizeFiles()
public static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.