public class SwKbtLoadCronTask extends SimpleCronTask
ImportClient
,
ExternalTransformation
Modifier and Type | Field and Description |
---|---|
MboRemote |
parameterValidationMbo |
Constructor and Description |
---|
SwKbtLoadCronTask() |
Modifier and Type | Method and Description |
---|---|
void |
cronAction()
Gets the SwKBT export file, transforms it into multiple files in the working directory,
and loads the transformed files using the MEA.
|
java.lang.String |
getCatalogID()
Return the catalogId for SWKbt
|
java.lang.String |
getInstanceName()
Returns instance.getString("instancename");
|
CrontaskParamInfo[] |
getParameters()
Process the parameters array into a CrontaskParamInfo array (Used in creation of a
new task through the UI).
|
MboRemote |
getParameterValidationMbo(CrontaskInstanceRemote instance)
Caches and returns the validation mbo for the crontask parameters, SWKBTCRON
|
boolean |
isOKToRun(MXServerRemote server)
Returns false if this instance is already running.
|
void |
start()
Initialize arrays of transformations and files and services.
|
void |
stop()
Give an info message that task is stopping
|
beforeRemoval, getCronTaskHistoryMsg, getCrontaskInstance, getCronTaskLogger, getCronTaskSqlLogger, getDBLastSeed, getEnteredValueVector, getInterval, getIntervalFlag, getLastRunDate, getLastSeed, getName, getParamAsBoolean, getParamAsDate, getParamAsDouble, getParamAsInt, getParamAsString, getParameter, getParameterValidationMbo, getRunasUserInfo, getSleepTime, init, isShutdown, setCronTaskHistoryMsg, setCrontaskInstance, setDBLastSeed, setEnteredValueVector, setInterval, setIntervalFlag, setLastRunDate, setLastSeed, setSleepTime, shutdown
public MboRemote parameterValidationMbo
public java.lang.String getCatalogID()
public CrontaskParamInfo[] getParameters() throws MXException, java.rmi.RemoteException
getParameters
in interface CronTask
getParameters
in class SimpleCronTask
MXException
java.rmi.RemoteException
SimpleCronTask.getParameters()
,
ImportUIConstants.CRONPARAMETERS
public MboRemote getParameterValidationMbo(CrontaskInstanceRemote instance) throws MXException, java.rmi.RemoteException
getParameterValidationMbo
in interface CronTask
getParameterValidationMbo
in class SimpleCronTask
MXException
java.rmi.RemoteException
CronTask.getParameterValidationMbo(CrontaskInstanceRemote)
public void cronAction()
cronAction
in interface CronTask
SimpleCronTask.cronAction()
,
retrieveFile()
,
doTransformations()
,
doLoadFiles()
public void start()
start
in interface CronTask
start
in class SimpleCronTask
SimpleCronTask.start()
,
initTransformations()
,
initFilesAndServices()
public void stop()
stop
in interface CronTask
stop
in class SimpleCronTask
SimpleCronTask.stop()
public boolean isOKToRun(MXServerRemote server)
isOKToRun
in interface CronTask
isOKToRun
in class SimpleCronTask
psdi.server.CronTask#isOKToRun();
public java.lang.String getInstanceName()