public final class ReportProcessor extends Processor implements IAppErrorCodes
m_appName, m_log, m_propertyOverridesARGS_IO_FAILURE, CLASS_STAMP_MISMATCH, INSTR_IO_FAILURE, INVALID_COLUMN_NAME, INVALID_COMMAND_NAME, INVALID_PARAMETER_VALUE, MAIN_CLASS_BAD_DELEGATION, MAIN_CLASS_LOAD_FAILURE, MAIN_CLASS_NOT_FOUND, MAIN_METHOD_FAILURE, MAIN_METHOD_NOT_FOUND, OUT_IO_FAILURE, OUT_MKDIR_FAILURE, REPORT_GEN_FAILURE, REPORT_IO_FAILURE, REQUIRED_PARAMETER_MISSING, SECURITY_RESTRICTION, UNEXPECTED_FAILURE| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
_run(IProperties toolProperties)
This method is implemented by each concrete Processor class to perform
tool-specific processing.
|
static ReportProcessor |
create()
Factory method for this processor.
|
void |
setDataPath(String[] path) |
void |
setReportTypes(String[] types) |
void |
setSourcePath(String[] path) |
protected void |
validateState()
Validates attribute settings before each
Processor._run(IProperties). |
run, setAppName, setPropertyOverrides, setPropertyOverridespublic static ReportProcessor create()
public final void setDataPath(String[] path)
path - [null is equivalent to an empty array]public void setSourcePath(String[] path)
path - [null is equivalent to no source path]public void setReportTypes(String[] types)
types - [may not be null]protected void validateState()
ProcessorProcessor._run(IProperties).
Overridden implementations should chain to super.validateState().
validateState 在类中 Processorprotected void _run(IProperties toolProperties)
Processor_run 在类中 ProcessortoolProperties - properties incorporating app-global setting and
overrides set optionally via Processor.setPropertyOverrides(Properties) or
Processor.setPropertyOverrides(IProperties) [never null]Copyright © 2018. All rights reserved.