|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.etools.systems.as400cmdsubsys.impl.ISeriesEventFileInformation
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 | |
---|---|
ISeriesEventFileInformation(CmdSubSystem subsystem,
String commandString)
Constructor for batch, when we don't have the event file name yet |
|
ISeriesEventFileInformation(CmdSubSystem 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 |
getEventsFileName()
Gets the events file name in the form lib/EVFEVENT(mbr) . |
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 |
showEventsFileInErrorListView(Shell shell)
Call this after successfully reading the LDA (non-batch) or setting the event file name (batch) Retrieve and show events file. |
void |
writeLDA(String compileString)
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 ISeriesEventFileInformation(CmdSubSystem 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 ISeriesEventFileInformation(CmdSubSystem subsystem, String commandString)
Method Detail |
public void writeLDA(String compileString) throws com.ibm.etools.systems.core.messages.SystemMessageException
com.ibm.etools.systems.core.messages.SystemMessageException
public boolean readLDA() throws com.ibm.etools.systems.core.messages.SystemMessageException
SystemMessgeException
- if there are errors trying to read the LDA
com.ibm.etools.systems.core.messages.SystemMessageException
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)public void showEventsFileInErrorListView(Shell shell)
shell
- - shell to host error message dialog in case something goes wrong.protected IRunnableContext getRunnableContext(Shell shell)
|
iSeries Remote Systems v6.0.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |