|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.exceptions.cli.Main
public class Main
Runs the report generator.
Field Summary | |
---|---|
static String |
CSS_FILE The link reference to the CSS file to add to the head element of the generated HTML document. |
static String |
JAVA_CLASS_PATH The semicolon separated class root directories. |
static String |
JAVA_SOURCE_ENCODING The encoding of the Java source files. |
static String |
JAVA_SOURCE_PATH The semicolon separated source root directories. |
static String |
PROJECT_NAME The name of the project to collect information for. |
static String |
REPORT_ENCODING The encoding of the report documentation. |
static String |
REPORT_EXCLUDES The semicolon separated excluded directories. |
static String |
REPORT_FILE The name of the report file to write. |
static String |
REPORT_GENERATOR The class name of the report generator instance to use. |
static String |
REPORT_INCLUDES The semicolon separated included directories. |
Constructor Summary | |
---|---|
Main() Default constructor. |
Method Summary | |
---|---|
static void |
main(String... args) Launches the program. |
void |
run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> config) Delegates call to run(ProjectConfiguration,XMLStreamWriter) . |
void |
run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> configuration, javax.xml.stream.XMLStreamWriter output) Runs the reporting with the given configuration and writer. |
int |
run(String... args) Runs with system properties. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String PROJECT_NAME
The value of this constant is "project-name".
"project-name"
public static final String REPORT_FILE
The value of this constant is "report-file".
"report-file"
public static final String REPORT_GENERATOR
The value of this constant is "report-generator".
"report-generator"
public static final String REPORT_ENCODING
The value of this constant is "report-encoding".
"report-encoding"
public static final String REPORT_EXCLUDES
The value of this constant is "report-excludes".
"report-excludes"
public static final String REPORT_INCLUDES
The value of this constant is "report-includes".
"report-includes"
public static final String JAVA_SOURCE_ENCODING
The value of this constant is "java-source-encoding".
"java-source-encoding"
public static final String JAVA_SOURCE_PATH
The value of this constant is "java-source-path".
"java-source-path"
public static final String JAVA_CLASS_PATH
java.class.path
will not be used. The default class path is used if this property is not specified.
The value of this constant is "java-class-path".
"java-class-path"
public static final String CSS_FILE
The value of this constant is "css-file".
"css-file"
Constructor Detail |
---|
public Main()
Method Detail |
---|
public int run(String... args) throws de.smartics.report.ReportException
de.smartics.report.ReportException
- ReportException on any problem generating the report.
org.apache.commons.cli.ParseException
de.smartics.exceptions.report.Main#run(de.smartics.exceptions.report.core.ExceptionCodeProjectConfiguration)
public void run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> config) throws de.smartics.report.ReportException
run(ProjectConfiguration,XMLStreamWriter)
.
config
- the configuration to control the discovery process.
de.smartics.report.ReportException
- on any problem generating the report.
run(ProjectConfiguration,XMLStreamWriter)
public void run(de.smartics.report.conf.ProjectConfiguration<javax.xml.stream.XMLStreamWriter> configuration, javax.xml.stream.XMLStreamWriter output) throws de.smartics.report.ReportException
configuration
- the configuration to control the discovery process.
output
- the writer to write to. This overrules the report file in the configuration. If the writer is
null
the report file is required to be set.
de.smartics.report.ReportException
- on any problem generating the report.
public static void main(String... args) throws Exception, de.smartics.report.ReportException
args
- the program arguments.
IOException
- on any problem reading from or writing to streams.
de.smartics.report.ReportException
- on any problem generating the report.
Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |