public abstract class AbstractTask extends Object implements ExchangeTask
| Modifier and Type | Field and Description |
|---|---|
protected static ExchangeTask |
cTask |
protected org.apache.commons.cli.CommandLine |
iCmd |
protected CommandLineProcessor |
iCmdProcessor |
protected String |
iInputDirectory |
protected String |
iWorkDirectory |
protected static org.apache.logging.log4j.Logger |
LOGGER |
| Constructor and Description |
|---|
AbstractTask() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureLog4j() |
String |
getInputDirectory() |
DataModel |
getModel() |
String |
getWorkDirectory() |
void |
init()
One time initialization of the task
|
protected static void |
initLog() |
void |
parseCommandline(String[] args) |
void |
setInputDirectory(String pInputDirectory) |
void |
setModel(DataModel pModel) |
void |
setWorkDirectory(String pWorkDirectory) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecute, getTaskDescriptionprotected static ExchangeTask cTask
protected CommandLineProcessor iCmdProcessor
protected org.apache.commons.cli.CommandLine iCmd
protected static org.apache.logging.log4j.Logger LOGGER
protected String iWorkDirectory
protected String iInputDirectory
public void init()
ExchangeTaskinit in interface ExchangeTaskprotected static void initLog()
public void parseCommandline(String[] args)
parseCommandline in interface ExchangeTaskpublic static void configureLog4j()
public String getWorkDirectory()
public void setWorkDirectory(String pWorkDirectory)
public String getInputDirectory()
public void setInputDirectory(String pInputDirectory)
public DataModel getModel()
public void setModel(DataModel pModel)
Copyright © 2017. All rights reserved.