|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.ibm.etools.iseries.subsystems.qsys.commands.QSYSEventFileInformation
public class QSYSEventFileInformation
This class encapsulates event file information when an event-file-generating command is submitted to run. Prior to running, we update the LDA with the event file information, and we store in this object the LDA information that we need after the command is run, to read the updated LDA.
Instances of this class are used by the command subsystem when it submits commands it detects to be event-file generating.
Field Summary | |
---|---|
static String |
Copyright
|
Constructor Summary | |
---|---|
QSYSEventFileInformation(QSYSCommandSubSystem subsystem,
String commandString)
Constructor for batch, when we don't have the event file name yet |
|
QSYSEventFileInformation(QSYSCommandSubSystem subsystem,
String commandString,
String eventFileMbrName)
Constructor for non-batch, when we have parse the event file mbr name from the command string |
Method Summary | |
---|---|
String |
getEventFileLibraryName()
Call this after successfully reading the LDA. |
String |
getEventFileMemberName()
Call this after successfully reading the LDA. |
String |
getEventFileName()
Call this after successfully reading the LDA. |
String |
getEventsFileName()
Gets the events file name in the form lib/EVFEVENT(mbr) . |
IHost |
getHost()
|
protected IRunnableContext |
getRunnableContext(Shell shell)
Get an IRunnable context to show progress in. |
boolean |
readLDA()
Read from the LDA. |
void |
setEventFile(String evfName)
Set the event file information. |
void |
writeLDA(String compileString,
String memberName)
Write necessary information into the LDA, and store returned information in this object. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String Copyright
Constructor Detail |
---|
public QSYSEventFileInformation(QSYSCommandSubSystem subsystem, String commandString, String eventFileMbrName)
subsystem
- the command subsystem.commandString
- the command string.eventFileMbrName
- the event file member name. Must be uppercase (don't uppercase letters
within quotes).public QSYSEventFileInformation(QSYSCommandSubSystem subsystem, String commandString)
Method Detail |
---|
public void writeLDA(String compileString, String memberName) throws SystemMessageException
SystemMessageException
public boolean readLDA() throws SystemMessageException
SystemMessgeException
- if there are errors trying to read the LDA
SystemMessageException
public String getEventFileLibraryName()
public String getEventFileName()
public String getEventFileMemberName()
public String getEventsFileName()
lib/EVFEVENT(mbr)
.
null
if the events file name
is not known.public void setEventFile(String evfName)
evfName
- - fully qualified eventfile name: lib/file(mbr)protected IRunnableContext getRunnableContext(Shell shell)
public IHost getHost()
|
Rational Developer for Power Systems Software V7.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |