public class ReconContext
extends java.lang.Object
Constructor and Description |
---|
ReconContext(ReconInfo reconInfo)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCronName()
Expose the current cron task name to data set providers.
|
DataSet |
getDataSet1() |
DataSet |
getDataSet2() |
DBShortcut |
getDBShortcut()
Convenience method to provide data set providers a valid DBShortcut object.
|
java.lang.String |
getInstanceName()
Expose the current cron task instance name to data set providers.
|
MXLogger |
getLogger()
Expose the maximo logger to data set providers to adding logging data.
|
ReconInfo |
getReconInfo()
Expose the ReconInfo.
|
MXLogger |
getSqlLogger()
Expose the maximo SQL logger to data set providers to adding SQL logging data.
|
MboRemote |
getTask()
Expose the current recon task MBO to data set providers.
|
java.lang.String |
getTaskName()
Expose the current recon task name to data set providers.
|
UserInfo |
getUserInfo()
Expose the UserInfo object.
|
void |
releaseDBShortcut(DBShortcut dbShortcut)
Release a previously obtained DBShortcut
|
public ReconContext(ReconInfo reconInfo)
reconInfo
- public ReconInfo getReconInfo()
public UserInfo getUserInfo()
public MXLogger getLogger()
public MXLogger getSqlLogger()
public java.lang.String getCronName()
public java.lang.String getInstanceName()
public java.lang.String getTaskName()
public MboRemote getTask()
public DBShortcut getDBShortcut() throws MXException, java.rmi.RemoteException
MXException
java.rmi.RemoteException
public void releaseDBShortcut(DBShortcut dbShortcut)
dbShortcut
- to be released.public DataSet getDataSet1()
public DataSet getDataSet2()