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 org.apache.logging.log4j.Logger |
LOGGER |
protected ProcessLogger |
PROCESS_LOGGER |
| Constructor and Description |
|---|
AbstractTask() |
| Modifier and Type | Method and Description |
|---|---|
static void |
configureLog4j() |
protected void |
getExtraOptions() |
String |
getInputDirectory() |
DataModel |
getModel() |
String |
getWorkDirectory() |
void |
init()
One time initialization of the task
|
protected 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 org.apache.logging.log4j.Logger LOGGER
protected ProcessLogger PROCESS_LOGGER
protected String iWorkDirectory
protected String iInputDirectory
public void init()
ExchangeTaskinit in interface ExchangeTaskprotected void initLog()
public void parseCommandline(String[] args)
parseCommandline in interface ExchangeTaskprotected void getExtraOptions()
public 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 © 2018. All rights reserved.