public class OslcFileImportCronTask extends SimpleCronTask
Constructor and Description |
---|
OslcFileImportCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
action(MboRemote fileimportQueueMbo,
OslcRequest request,
byte[] actionData,
java.lang.String osName) |
void |
cronAction()
This is the CORE METHOD of this class.
|
CrontaskParamInfo[] |
getParameters()
This method provides an array of CrontaskParamInfo() object to describe
all the parameters of the crontask.
|
void |
importData(MboRemote fileImportQueueMbo,
java.io.InputStream in,
UserInfo userInfo,
java.lang.String osName,
java.lang.String fileType,
java.lang.String delimiter,
java.lang.String textqualifier,
java.lang.String action,
java.lang.String transLangCode,
java.lang.String messageType) |
void |
setCrontaskInstance(CrontaskInstanceRemote inst)
Cache the crontask instance this crontask object is instantiated for.
|
void |
start()
Default implementation for start().
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getParameterValidationMbo, getRunasUserInfo, getSleepTime, init, isOKToRun, isShutdown, setCronTaskHistoryMsg, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown, stop
public void start()
SimpleCronTask
start
in interface CronTask
start
in class SimpleCronTask
CronTask.stop()
,
startup()
public void cronAction()
SimpleCronTask
cronAction
in interface CronTask
cronAction
in class SimpleCronTask
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
CronTask
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
CrontaskParamInfo
public void setCrontaskInstance(CrontaskInstanceRemote inst)
SimpleCronTask
setCrontaskInstance
in interface CronTask
setCrontaskInstance
in class SimpleCronTask
CronTask.setCrontaskInstance(CrontaskInstanceRemote)
public void action(MboRemote fileimportQueueMbo, OslcRequest request, byte[] actionData, java.lang.String osName) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void importData(MboRemote fileImportQueueMbo, java.io.InputStream in, UserInfo userInfo, java.lang.String osName, java.lang.String fileType, java.lang.String delimiter, java.lang.String textqualifier, java.lang.String action, java.lang.String transLangCode, java.lang.String messageType) throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException