public abstract class DynamicConfigFileWriter extends Object implements SciPgeConfigFileWriter
Constructor and Description |
---|
DynamicConfigFileWriter() |
Modifier and Type | Method and Description |
---|---|
File |
createConfigFile(String sciPgeConfigFilePath,
Metadata inputMetadata,
Object... customArgs) |
abstract File |
generateFile(String filePath,
Metadata metadata,
Logger logger,
Object... args)
Generates a config file for CAS-PGE to use as PGE input with the given
default logger.
|
public File createConfigFile(String sciPgeConfigFilePath, Metadata inputMetadata, Object... customArgs) throws IOException
createConfigFile
in interface SciPgeConfigFileWriter
IOException
public abstract File generateFile(String filePath, Metadata metadata, Logger logger, Object... args) throws Exception
filePath
- The name of the config file to generate.metadata
- Input CAS-PGE metadata.logger
- The logger to write any status information to.args
- Any custom parameters needed for the writer to write the input
config file.Exception
- If any error occurs.Copyright © 1999–2017 Apache OODT. All rights reserved.